Sizing of microservices
Info
What is the correct sizing of 30_Knowledge/Microservices?
Opinions
Ich präferiere grobgranulare Ansätze. Nicht so komplex wie Netflix.
– Eberhard Wolff
Can you understand everything it does, does it fit in your head? If you can’t – and that is usually the case when something is doing more than one thing – you might want to think about splitting it up.
— James Lewis (HOW BIG SHOULD A MICRO-SERVICE BE?)
My opinion
The size only should not be the reason to split a service. You should only do that if you have good reasons for it, e.g. business requirements, scaling problems, etc.
The size of a microservice should match the problem domain and how well one team can maintain it considering cognitive load.