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

Author:   Anik Rao
Publisher:   Independently Published
ISBN:  

9798270191269


Pages:   308
Publication Date:   16 October 2025
Format:   Paperback
Availability:   Available To Order   Availability explained
We have confirmation that this item is in stock with the supplier. It will be ordered in for you and dispatched immediately.

Our Price $79.17 Quantity:  
Add to Cart

Share |

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


Overview

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.

Full Product Details

Author:   Anik Rao
Publisher:   Independently Published
Imprint:   Independently Published
Dimensions:   Width: 17.80cm , Height: 1.70cm , Length: 25.40cm
Weight:   0.535kg
ISBN:  

9798270191269


Pages:   308
Publication Date:   16 October 2025
Audience:   General/trade ,  General
Format:   Paperback
Publisher's Status:   Active
Availability:   Available To Order   Availability explained
We have confirmation that this item is in stock with the supplier. It will be ordered in for you and dispatched immediately.

Table of Contents

Reviews

Author Information

Tab Content 6

Author Website:  

Countries Available

All regions
Latest Reading Guide

RGFEB26

 

Shopping Cart
Your cart is empty
Shopping cart
Mailing List