Tokio
14 posts

Stop treating tokio::spawn as a thread! I launched 1000 tasks in 2 seconds and the system stayed calm
tokio::spawn is not a thread but a lightweight task. Under Tokio’s scheduler you build highly concurrent services with sleep, timeout and select — 1000 tasks in 2 seconds with negligible overhead.

Rust Async State Machine, Unmasked: How Future, poll, and Waker Really Work
A practical deep dive into Rust async: why calling an async function doesn’t run it, how the compiler turns async into a state machine, and how executors drive tasks forward with poll and Waker. Understand the real mechanics behind async/await.

Hands-On Code! Perfect WebSocket + Actor System Implementation - I Pulled Another All-Nighter
Last article too theoretical? Here’s hardcore code to get your Rust distributed system running
Rust Async Unveiled: The Secret to Making Code 'Slack Off' While Doubling Efficiency!
Deep dive into Rust async programming core concepts, from async/await to Future, from tokio runtime to concurrent processing. Master zero-cost async programming essence and double your Rust code efficiency!
