Build with Naz : Rust async, non-blocking, concurrent, parallel, event loops, graceful shutdown

preview_player
Показать описание
In this article, video, and repo learn effective async Rust using real world patterns that show up consistently when creating non blocking, async, event loops, using channels. Delve into implementing the Future trait and async executor manually. Also explore graceful shutdown, when not to use async, and how to think about testing async code.

For comments and feedback please use these:

Chapters:
00:00:00 Intro
00:02:00 Sequential vs concurrent, Parallelism is a resource
00:08:00 Impl the Future trait manually to create a timer
00:34:00 Impl an executor to run futures to completion
01:08:00 How epoll or io_uring might work
01:10:00 Don't use async for underlying blocking FS ops
01:13:00 Concurrency on a single thread, LocalSet
01:22:00 join, select, and spawn
01:25:00 async streams
01:30:00 Common async patterns in real-world code
01:58:00 Review async code in existing repos and crates
Рекомендации по теме
welcome to shbcf.ru