|
|
|
|
|
by negus
634 days ago
|
|
In my opinion it is too literal understanding of the concept and there is no universal borderline in size or scope.
It is common in practice to find quite fat microservices because their maintaners decided it doesn't worth to have yet another network communication latency for a specific case. The main problem here is to be able to effectively debug and maintain several communicating services: to have a distributed tracing facility like Jaeger, centralized logs collection, schema registry and so on. It may seem compex to set up and maintain at first, but once you have some experience it does not add much toil and cognitive load.
But having the infrastracture in place to effectively work with microservices gives you the freedom of system design choices. It does not force you to make microservices very small. |
|
There doesn't need to be. It's applied in specific contexts where the distinction is clear for that context.
You said "A monolith is just one microservice." But it's not, because they're literally defined as opposites. You might as well say "the color white is just one shade of black." It's not adding anything helpful -- it's quibbling over words.