Artículo: AMZ-B0G4KSDBSB

Hands-On Microservices in Rust: Build Scalable, Async Web Services with Axum and Tokio

Format:

Kindle

Hardcover

Kindle

Paperback

Detalles del producto
Disponibilidad
En stock
Peso con empaque
0.20 kg
Devolución
No
Condición
Nuevo
Producto de
Amazon
Viaja desde
USA

Sobre este producto
  • Imagine it is 3:00 AM. Your phone rings. The alert says your production service is down. You open your laptop, groggy and stressed, trying to find the bug. Is it a memory leak? Is it a database timeout? Did someone deploy a typo?If you are a backend developer, you know this feeling. You know the anxiety of "Runtime Errors"—bugs that only show up when real users hit the system.Now, imagine a different reality.Imagine a compiler that acts as your personal guardian. It refuses to build your code if you try to use a database connection you have already closed. It stops you from accidentally sharing memory between threads without a lock. It forces you to handle every possible error case before you deploy.When you write microservices in Rust, you sleep better at night. You stop spending your time fixing silly bugs and start spending your time building logic. This book is your roadmap to that reality. We do not just teach you how to write code; we teach you how to design systems that cannot break in the ways you are used to.What's insideThis guide follows a practical, step-by-step path to building a "Zero Trust" distributed system.Mastering Asynchronous Rust: Understand exactly how the Tokio runtime schedules tasks and why "blocking the thread" is the ultimate sin in microservices.Building the Core: Use Axum to build type-safe REST APIs where invalid requests are rejected before your logic even runs.Database Reliability: Use SQLx to verify your SQL queries at compile-time. If you make a typo in your SQL, your code won't compile.Production-Grade Security: Implement a centralized Identity Service using JWTs and Argon2 password hashing. Learn to secure service-to-service traffic using mTLS.Observability: Implement the three pillars—Tracing (OpenTelemetry), Metrics (Prometheus), and Logs (Tracing)—so you never have to guess why a request failed.Advanced Testing: Move up the testing pyramid. Write Unit tests for logic, Hermetic tests with Testcontainers for databases, and Property-based tests to find edge cases automatically.Cloud Native Deployment: Package your Rust binary into a secure, 20MB Docker container (using Distroless) and orchestrate it with Kubernetes.Who it's meant forThis book is written for Intermediate Developers.You are comfortable with another language (like Node.js, Go, Java, or Python) and want to move into high-performance systems programming.You have learned the basics of Rust syntax (structs, enums, loops) but struggle to understand how to structure a large project.You are a backend engineer tired of fighting the Garbage Collector and want to build systems that are efficient by design.The industry is shifting. Companies like AWS, Microsoft, and Discord are rewriting critical infrastructure in Rust. The demand for engineers who can build safe, high-concurrency systems is growing faster than the supply.Do not let the learning curve stop you. Rust is challenging, but it is worth it. This book cuts through the noise and gives you the exact patterns and libraries you need to succeed.

Producto prohibido

Este producto no está disponible

Este producto viaja de USA a tus manos en