Skip to content
Scan a barcode
Scan
Paperback Building Web APIs with Axum and Rust: Create high-performance REST APIs with async handlers, middleware, database integration, and production deployme Book

ISBN: B0FWR4V9JW

ISBN13: 9798270191269

Building Web APIs with Axum and Rust: Create high-performance REST APIs with async handlers, middleware, database integration, and production deployme

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 shutdownrouting and state composition, typed extractors for path query json headers and shared stateresponse design with intoresponse json and streaming bodiesconsistent errors with rfc 7807 problem details etag and conditional requestsauthentication with jwt jwks rotation sessions cookies and csrf for browser clientsdatabase integration with sqlx migrations transactions error mapping retries and pool tuningpgbouncer transaction mode diagnosing pool timeouts and when to choose seaorm or dieselapi design resource modeling pagination filtering sorting and link headersopenapi generation with utoipa and utoipa axum plus serving docs and client generationobservability with tracing spans sampling metrics red method and prometheus exportersdistributed tracing with opentelemetry and backends like jaeger or otlprealtime features websockets server sent events file uploads multipart and presigned urlsbackground tasks cancellation safety and graceful drainingtests that catch real bugs unit tests with serviceext oneshot integration with testcontainers and contract tests with schemathesisproperty testing and lightweight fuzzing for edge casesdeployment and hardening containers static linking musl tls with rustls reverse proxies nginx or caddy headers timeouts bufferingos and runtime tuning connection limits threads file descriptorsperformance practice timeouts retries idempotency keys load shedding and rate limits guided by slo budgetsrealistic benchmarking with database and tls and using techempower as contextproduction 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.

Recommended

Format: Paperback

Condition: New

$29.22
Save $0.77!
List Price $29.99
50 Available
Ships within 2-3 days

Customer Reviews

0 rating
Copyright © 2025 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell/Share My Personal Information | Cookie Policy | Cookie Preferences | Accessibility Statement
ThriftBooks ® and the ThriftBooks ® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured