Tag
This article outlines best practices for optimizing Tokio applications in Rust, covering principles like latency vs. throughput and debugging strategies.
TailTalk is a modern async user space AppleTalk stack implemented in Rust and Tokio, designed for building implementations to communicate with classic Macs over EtherTalk or LocalTalk networks.
Explains why Tokio's scheduler does not preserve task ordering at scale, using a real-world example of 1M tasks, and highlights the difference between progress and ordering.
Tokio announces Topcoat, a modular, batteries-included Rust framework for building full-stack reactive web apps, entirely server-rendered with reactive instructions similar to HTMX.
The article examines how async/await syntax, while easy to write, creates significant complexity in production by conflating asynchrony with concurrency, often requiring manual partitioning of I/O and compute tasks across separate runtimes like Tokio and Rayon, leading to latency spikes and system instability.
This article describes a debugging journey where a Rust service's memory remained high under load despite no leaks, due to glibc's ptmalloc allocator not releasing freed memory back to the OS. It explains the allocator behavior and provides insights for Rust developers.
A hands-on tutorial series that bridges the gap between understanding async Rust internals (Future, poll, Pin, executor) and shipping real async code with Tokio, aimed at developers familiar with JavaScript async and basic Rust.
This article analyzes unexpected memory allocation costs in Tokio's mpsc channels in Rust, revealing a fixed overhead per channel due to internal block sizing. It demonstrates how this impacts large-scale applications like Agent Gateway and suggests alternatives like futures-channel for memory efficiency.
Topcoat is a modular, batteries-included Rust framework for building fullstack apps with server-side rendering and client reactivity without a separate API layer.