Best Practices to Design Microservices

Best Practices to Design Microservices 

1.As a developer, when you decide to build an application separate the domains and be clear with the functionalities.


2. Each microservice you design shall concentrate only on one service of the application.


3. Ensure that you have designed the application in such a way that each service is individually deployable.


4. Make sure that the communication between microservices is done via a stateless server.


5.Each service can be furthered refactored into smaller services, having their own microservices


6.Separate  Data Store for each Micro Service


7.Separate build for each Microservice


8.Build separate teams for different microservices


9.APIs should be designed keeping the business domain in mind


10.Prefer to Transport data over HTTP,using JSON


11.Centralized Logging /Centralized Monitoring


12.Communicate Only Via Exposed APIs


No comments:

Post a Comment

Troubleshooting Docker Image Format: Ensuring Docker v2 Instead of OCI

  Troubleshooting Docker Image Format: Ensuring Docker v2 Instead of OCI Introduction While working with Docker 27+ , I encountered an iss...