Getting Started
What microservices are, how they compare to monoliths and where they are used.
3 more tutorials coming soon
Learn how to design, build and run microservices step by step. Clear explanations, diagrams and working Spring Boot examples for every important pattern, from service decomposition to resilience, security and deployment.
Microservices architecture builds an application as a set of small, independent services. Each service owns one business capability (such as orders, payments or users), has its own database, and can be developed, deployed and scaled on its own. Services work together over the network using APIs and events.
Java and Spring Boot developers moving from monoliths to microservices, backend engineers building distributed systems, and anyone preparing for microservices interviews.
Core Java, basic Spring Boot, RESTful web services, and simple SQL or NoSQL database use.
Clients send requests to an API Gateway, which routes them to the right service. Each service has its own database. Services find each other through a service registry, share events through a message broker, and are protected by resilience patterns and centralized monitoring.
Follow the tracks in order, or jump to the pattern you need. Topics marked "coming soon" are being written and will be linked here as they are published.
What microservices are, how they compare to monoliths and where they are used.
3 more tutorials coming soon
How to split a system into services: DDD, bounded contexts and migration patterns.
4 more tutorials coming soon
Synchronous and asynchronous communication, events and messaging.
2 more tutorials coming soon
Database per service, sagas, CQRS, event sourcing and the outbox pattern.
5 more tutorials coming soon
Circuit breakers, retries, timeouts, bulkheads and rate limiting.
2 more tutorials coming soon
Service registry, service discovery and externalized configuration.
2 more tutorials coming soon
API Gateway, aggregation, Backend for Frontend and API versioning.
3 more tutorials coming soon
Logging, tracing, health checks and metrics across services.
5 tutorials coming soon
Authentication, authorization, JWT, OAuth 2.0 and RBAC.
2 more tutorials coming soon
Testing strategies, contract testing and Testcontainers.
3 tutorials coming soon
Docker, Kubernetes, service mesh and safe release strategies.
8 tutorials coming soon
Questions and answers to prepare for microservices interviews.
2 tutorials coming soon