Microservices Software Architecture: Patterns and Techniques
1 min readSep 23, 2019
Advantages:
- Low coupling
- Improves modularity
- Promotes parallel development
- Promotes scalability
Drawbacks:
- Infrastructure costs are usually higher
- Integration testing complexity
- Service management and deployment
- Nanoservice anti pattern
Why do many microservices projects fail?
- Lack of:
- Planning
- Knowledge
- Skills
- Time
How to prevent your projects from failing?
- Determine applicability
- Prioritze automation
- Have a clear plan
- Avoid common pitfalls
Why is it important?
- Significant amount of time setting up
- Similar code for each microservice setup
What should the template contain?
Cross cutting concerns:
Logging
- Metrics
- Connection setup and configuration to database and message blocks
Project Structure: