#asyncawait

2026-02-01
2026-02-01
2026-02-01
2026-01-23

Как старый роутер съел 2.5 ГБ ОЗУ в моей вкладке, или cетевой инфаркт асинхронного кода

Интро Это история о том, как «кривой» роутер научил меня смотреть на память браузера иначе. Есть вкладка с ИИ-чатом, есть WebSocket/Streaming, есть обычный i5. И есть момент, когда все это превращается в кирпич: вкладка раздувается до гигабайтов, процессор залипает, страница оживает только на пару минут после перезагрузки. Лид Проблема оказалась не в нейросетях и не в JS. Виновник — старый домашний роутер, который не вывозил IPv6 и фрагментацию. Итог — застрявшие пакеты, нарастающий буфер в браузере и тысячи незавершенных async/await -машин в памяти. TL;DR - Вкладка с WebSocket раздувается из-за сетевых затыков. - Роутер ломает MTU/IPv6, пакеты зависают, bufferedAmount растет. - Асинхронные цепочки не завершаются и копятся в Heap. - Фикс: MTU 1400 + отключение IPv6. - В коде: мониторинг bufferedAmount , таймауты и AbortController . Симптом - Вкладка с ИИ-чатом пухнет до 1–2.5 ГБ. - CPU уходит в 100%, интерфейс замирает. - Перезагрузка помогает на 5 минут, дальше все повторяется.

habr.com/ru/articles/988398/

#websocket #javascript #network #performance #asyncawait #memory

Snapp iOS Weeklyios_newsletter_snapp
2026-01-01

How do structured and unstructured tasks behave differently when cancelled in Swift? This breakdown of 𝑎𝑠𝑦𝑛𝑐/𝑎𝑤𝑎𝑖𝑡 task lifetimes clarifies cancellation behavior in Swift's concurrency system.

🔗: tanaschita.com/swift-async-tas by Natascha Fadeeva (@tanaschita)

Snapp iOS Weeklyios_newsletter_snapp
2025-12-25

Confused about when to use 𝑇𝑎𝑠𝑘.𝑠𝑙𝑒𝑒𝑝() versus 𝑇𝑎𝑠𝑘.𝑦𝑖𝑒𝑙𝑑()? Wesley de Groot clears up the confusion, explaining the critical difference between fixed-duration suspension (sleep) and voluntary control yielding (yield). Essential knowledge for managing Swift concurrency effectively.

🔗: wesleydegroot.nl/blog/task-sle by 𝗪𝗲𝘀𝗹𝗲𝘆 𝗱𝗲 𝗚𝗿𝗼𝗼𝘁

N-gated Hacker Newsngate
2025-11-01

🛠️🎉 finally got its Async/Await back! 🙄 The world's most anticipated feature for a no one's heard of—because, obviously, we don't have enough async/await in other languages. 😂 But hey, from the master branch makes you a real programmer, right? 🤓✨
charlesfonseca.substack.com/p/

Snapp iOS Weeklyios_newsletter_snapp
2025-09-30

How do you manage runaway async tasks in SwiftUI?

Learn both automatic and manual approaches for properly cancelling async work, helping you build more responsive and memory-efficient SwiftUI apps.

🔗: tanaschita.com/swiftui-cancel- by @tanaschita

2025-08-31

#TIL about #ResonateHQ;

resonatehq.io/

No, not the moribund music streaming co-op, the developers describe their project as;

"An open-source implementation of Distributed Async Await."

An open protocol described in a diagram here;

resonatehq.io/distributed-asyn

... which extends the pre-existing Async Await.

(Yes, I learned about all of this for the first time today and I'm still not entirely sure what it is).

#AsyncAwait #DistributedAsyncAwait

ProMobile.Devpromobiledev
2025-08-04

Modern iOS networking doesn’t need to be complicated.

Learn how to build a simple and clean network layer using URLSession with Swift async/await.

Full tutorial:
promobile.dev/tutorials/modern

iOS network layer
2025-07-18

timers.promises в Node.js

Привет, Хабр! Сегодня мы рассмотрим один из тех маленьких, но мощных апгрейдов Node.js, который вы, скорее всего, недооценивали. Речь о timers.promises — свежем и способе работать с setTimeout и setImmediate в асинхронных функциях.

habr.com/ru/companies/otus/art

#nodejs #программирование #timerspromises #setTimeout #setImmediate #AbortSignal #asyncawait #таймеры_в_Nodejs

Shubham Tiwarimysterio909
2025-06-21

🚀 Mastering API Handling in React & Vanilla JS – One Step at a Time!

This week, I deep-dived into handling APIs in React and Vanilla JavaScript – not just fetching data, but doing it efficiently and securely which includes: Fetch, CRUD, Query Params, Auth, and AbortController Explained

dev.to/shubhamtiwari909/handli

:rss: Qiita - 人気の記事qiita@rss-mstdn.studiofreesia.com
2025-06-08

【超有料級】非同期処理がスッと理解できる魔法のレッスン。今日からあなたも非同期の魔法使い!
qiita.com/Keita-0025/items/f24

#qiita #JavaScript #promise #非同期処理 #並列処理 #AsyncAwait

Swift Continuations - Your Bridge from Callback Hell to Async Paradise

✨ Learn all 4 continuation types
🔄 Convert old callbacks to modern async/await
⚡ Performance tips

Read more: swiftshorts.com/2025/06/05/swi

#SwiftUI #iosdev #iOS #AsyncAwait #SwiftLang

TechKeysXTechKeysX
2025-06-02

Async to run background function or task in C# Tip #40 Using async and Task in C# to run a background function while the main method continues executing a counter until the background task completes.

TechKeysXTechKeysX
2025-06-01

Async and Await Non-Blocking UI in C# Tip #39 Using async and await in C# keeps the UI responsive during long tasks like delays. Without them, the UI freezes and becomes unresponsive until the task is complete.

Taras Kovalenkotkovalenko
2025-03-03

Якщо ви розробник .NET, ви, напевно, стикалися з ConfigureAwait(false), але чи достатньо добре розумієте всі його нюанси та нові можливості? 🤔

taraskovalenko.github.io/posts

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst