Sold by Mighty Ape
Build fast reliable Rust APIs that are production ready from day one.
Shipping an HTTP service is more than routes and JSON. Teams struggle with timeouts, error surfaces, authentication, database performance, and dependable deploys that do not wake the on call. This book shows a practical path using Axum on top of Tokio, hyper, and Tower, so you can move from local prototype to stable production with confidence.
You will learn proven patterns for routing, extractors, middleware, observability, testing, and deployment, all shaped for Rust’s async model and real workloads.
stack fundamentals with tokio hyper tower and axum, project layout, and graceful shutdown
routing and state composition, typed extractors for path query json headers and shared state
response design with intoresponse json and streaming bodies
consistent errors with rfc 7807 problem details etag and conditional requests
authentication with jwt jwks rotation sessions cookies and csrf for browser clients
database integration with sqlx migrations transactions error mapping retries and pool tuning
pgbouncer transaction mode diagnosing pool timeouts and when to choose seaorm or diesel
api design resource modeling pagination filtering sorting and link headers
openapi generation with utoipa and utoipa axum plus serving docs and client generation
observability with tracing spans sampling metrics red method and prometheus exporters
distributed tracing with opentelemetry and backends like jaeger or otlp
realtime features websockets server sent events file uploads multipart and presigned urls
background tasks cancellation safety and graceful draining
tests that catch real bugs unit tests with serviceext oneshot integration with testcontainers and contract tests with schemathesis
property testing and lightweight fuzzing for edge cases
deployment and hardening containers static linking musl tls with rustls reverse proxies nginx or caddy headers timeouts buffering
os and runtime tuning connection limits threads file descriptors
performance practice timeouts retries idempotency keys load shedding and rate limits guided by slo budgets
realistic benchmarking with database and tls and using techempower as context
production checklists ci pipelines and supply chain checks with cargo deny and audit
This is a code heavy guide. Each topic includes working Rust examples that you can adapt directly to real services.
Get the practical Rust API guide your team will use every day, grab your copy now.
We are committed to protecting your rights under the Consumer Guarantees Act and working with our suppliers to assist with warranty claims. Products sold by Mighty Ape will be covered by a Manufacturer's Warranty for at least a one-year period from the date of purchase.
Your warranty will cover any manufacturing defects which, if existing, will present themselves within this warranty period.
Your warranty will not cover normal wear and tear, faults caused by misuse, and accidents which cause damage or theft caused after delivery. Using the product in a way it is not designed for will void your warranty.
Please refer to our Help Centre for more information.