Asynchronous Programming in Rust: Futures, Async Runtime Concepts, and Event-Driven Systems

Rust Development for Real-World Applications

Cover of Asynchronous Programming in Rust: Futures, Async Runtime Concepts, and Event-Driven Systems

EPUB · English

Price and availability

EPUB eBookUS store

$6.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
EPUB
DRM
Not stated by the publisher
Language
English
Publisher
Distributed via Draft2Digital
Published
26 March 2026
ISBN
9798235465244
Subjects
Computer programming / software development, Programming & scripting languages: general, Systems analysis & design, Computer programming / software engineering, Programming and scripting languages: general, Systems analysis and design

About this book

Unlock the full potential of high-performance backend systems with &quote;Asynchronous Programming in Rust&quote;.While Rust guarantees memory safety and thread safety at compile time, mastering its asynchronous ecosystem requires a fundamental shift in how you think about concurrent architecture. This comprehensive guide takes you beyond basic syntax, stripping away the abstractions to reveal the mechanical truths of futures, task scheduling, and event-driven design.Whether you are building massive web servers, database proxies, or high-throughput telemetry pipelines, this book provides the theoretical depth and practical patterns required to engineer professional-grade software. You will not just learn how to use keywords like async and await; you will understand exactly how the compiler transforms your code into zero-cost state machines.What You Will Learn:The foundations of cooperative multitasking and how it differs from traditional OS threading.The inner workings of the Future trait, the Waker mechanism, and memory pinning.How to build a custom executor from scratch to deeply understand runtime behavior.Architectural strategies for the Tokio runtime, including work-stealing schedulers.Techniques for handling backpressure, timeouts, and graceful shutdowns in network services.Best practices for isolating CPU-bound workloads and legacy synchronous code.Real-world implementations of REST APIs with Axum and gRPC microservices with Tonic.Performance tuning and observability using tracing, flamegraphs, and targeted benchmarking.Who This Book Is For: This book is strictly designed for intermediate to advanced Rust developers, backend engineers, and systems architects who want to build highly scalable, resilient applications. A foundational understanding of Rust syntax, ownership, and lifetimes is assumed.Master the mechanics of concurrent Rust and build systems that scale linearly, utilize resources with extreme efficiency, and run with ironclad reliability.

Bibliographic data © Gardners Books Ltd.