Axum Microservices
Build and run production microservices in Rust with Axum.
Start with Your First Axum Server →Axum Fundamentals
Build Axum routers, handlers, and application state.
Foundations
Service boundaries, data ownership, and the costs of network communication.
HTTP API
Design REST resources, validate requests, and return consistent errors.
Database
Model PostgreSQL data and build queries with SQLx and SeaORM.
Testing
Test Axum handlers, database behavior, and service contracts.
Security
Authenticate users and enforce authorization and tenant boundaries.
Middleware
Compose Tower layers for request processing and cross-cutting behavior.
Operations
Instrument, harden, configure, and deploy services.
gRPC with Tonic
Protocol Buffers, RPC types, deadlines, interceptors, TLS, and load balancing.
GraphQL
Schemas, resolvers, DataLoader, limits, subscriptions, and federation.
Real-Time Delivery
Push updates with WebSockets and server-sent events.
Distributed Patterns
Gateways, messaging, sagas, CQRS, and event sourcing.
