Principles of microservices and SOLID principles

You are designing a set of microservices that follows the principles of microservice architecture design as well the principles of SOLID.

What would be the design of your system such that it is most suited to implementing the system without violating both these principles?

Options

  1. All services should be independant and should not share repositories
  2. A single repository is maintained for all services
  3. Different serives are grouoped together based on shared repositories, and can share dependancies
  4. Different serives are grouoped together based on shared repositories, but should never share dependancies or build processes

Related Posts

Close Bitnami banner
Bitnami