Design: Microservices Architecture with Anti-patterns
Focus on service design and communication patterns. Database design and UI are out of scope.
Functional Requirements
Non-Functional Requirements
Jump into concepts and practice - no test required
+----------------+ +----------------+
| API Gateway | | Service Mesh |
+-------+--------+ +-------+--------+
| |
+-------------+-------------+-------------+-------------+
| | |
+---v---+ +---v---+ +---v---+
| User | | Order | | Product|
|Service| |Service| |Service |
+---+---+ +---+---+ +---+---+
| | |
+---v---+ +---v---+ +---v---+
| User | | Order | | Product|
| DB | | DB | | DB |
+-------+ +-------+ +-------+
Note: Services communicate asynchronously via message broker to reduce chatty calls.distributed monolith in microservices architecture?