Home
Data Structures and Algorithms
Complexity Analysis
Arrays
Searching & Sorting
Linked Lists
Stacks
Queues
Heaps & Priority Queues
Hashing
Trees
Graphs
Tries
Math & Bit Manipulation
Greedy Algorithms
Backtracking
Dynamic Programming
Summary
About
Dark
Guide contents
Axum Microservices
Axum Fundamentals
1.
Your First Axum Server
Foundations
2.
What Is a Microservice
3.
Splitting a System Into Services
HTTP API
4.
REST API Design: Resources, Validation, and Pagination
5.
Error Handling and Rejections in Axum
Database
6.
PostgreSQL with SQLx: Migrations, Pools, and CRUD
7.
Relationships, Indexes, and the N+1 Problem
8.
Transactions, Locking, Idempotency, and the Outbox
9.
SeaORM: Entities, Relations, and ActiveModel
10.
Caching with Redis
Testing
11.
Testing Axum Services: Handlers, Databases, and Contracts
Security
12.
Authentication and Authorization in Axum
13.
OAuth2, OIDC, JWT, and mTLS for Services
Middleware
14.
Middleware with Tower and tower-http
Operations
15.
Observability: Tracing, Logging, and Metrics
16.
Resilience Patterns for Service Calls
17.
Health Checks, Graceful Shutdown, and Configuration
18.
Docker, Kubernetes, and CI/CD for Axum Services
gRPC with Tonic
19.
gRPC Basics: Protobuf and Unary RPC with Tonic
20.
gRPC Streaming, Status Codes, Deadlines, and Interceptors
21.
Production gRPC: TLS, Health, Load Balancing, and Testing
GraphQL
22.
GraphQL Basics: Schema, Queries, and Mutations with async-graphql
23.
GraphQL DataLoader, Errors, Limits, and Auth
24.
GraphQL Subscriptions, Federation, and Protocol Comparison
Real-Time Delivery
25.
WebSockets and Server-Sent Events in Axum
Distributed Patterns
26.
API Gateway, Service Discovery, and Load Balancing
27.
Messaging and Kafka
28.
RabbitMQ and NATS
29.
Sagas and Distributed Transactions
30.
CQRS and Event Sourcing
Home
/
Axum Microservices
/
Security
Security
Authenticate users and enforce authorization and tenant boundaries.
2 lessons
12.
Authentication and Authorization in Axum
13.
OAuth2, OIDC, JWT, and mTLS for Services