Mini Actor framework visualized in a night coffee shop: Actor, Addr, Inbox, Supervisor

Build Your Own Mini Actor Framework: Run Concurrency Like a Coffee Shop

A hands-on guide to building a usable mini Actor framework in Rust from scratch: Actor, Addr, spawn, supervise, a simple registry, message passing, and HTTP interaction.

August 21, 2025 · Rexai Programming

Rust + Axum Async Microservice Guide: Job Queue, Retries, and Graceful Shutdown

Build a production-ready async microservice with Rust and Axum: job queue, background workers, exponential backoff retries, and graceful shutdown. Includes full project structure and Docker example.

August 17, 2025 · Rexai Programming
The difference between Tokio tasks and OS threads

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.

August 11, 2025 · Rexai Programming
Rust async is compiled into a state machine and driven by Future, poll, and Waker

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.

August 10, 2025 · Rexai Programming

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!

January 15, 2024 · Rexai Programming
High‑value AI Toolkit Less than a coffee/month →