DEV Community

Discussion on: How big or small should microservices be?

Collapse
 
bias profile image
Tobias Nickel

thanks, so do you think it is common to see one or two service over iterations/time to grow in complexity?

and it is a mindset and the microservice architecture to extract individual functionality?

Collapse
 
kayis profile image
K

I think, most people start with a monolith, so they only have one service. If you add features to a monolithic system, that one service will naturally grow in complexity.

The goal with microservices is two-fold.

  1. Get your complexity under control. If you have clearly defined interfaces between two systems its easier to manage each one of them with a dedicated team than when they are intermingled in a big monolith that has implicit interfaces.

  2. Get rid of undifferentiated work. If you can, for example, extract your authentication and let it be done by a SaaS company, you can safe money and time.