This repository contains a collection of design patterns for building microservices, which are small, independent, and modular services that work together to form a larger application.
To use these design patterns, you will need a basic understanding of microservice architecture and design principles. Each pattern is described in detail in its own subdirectory, which includes code samples and explanations of how to implement the pattern.
The following design patterns are included in this repository:
- Service Registry
- Circuit Breaker
- Bulkhead
- API Gateway
- Event-Driven Architecture
- Command Query Responsibility Segregation (CQRS)
- Saga
- Sidecar
Contributions to this repository are welcome! If you have a new design pattern to add or an improvement to an existing pattern, please create a pull request with your changes.
This repository is licensed under the MIT License. See the LICENSE file for more information.