DEV Community

Discussion on: Microservices is not the best way to draw boundaries and achieve modularity in a system

Collapse
apssouza22 profile image
Alexsandro Souza Author

When you need to scale part of the monolith then you make your module a microservice. To make your module a microservice, you will just add a gRPC layer on top of it

Collapse
pjotre86 profile image
pjotre86

Agree. Sorry, I was under the impression that you're opposing microservices. It's not really clear to me what you're suggesting in your post.

Thread Thread
apssouza22 profile image
Alexsandro Souza Author

When you need to scale a piece of your system, extract it from the monolith into a separated service. You do it when necessary.
My point is that you don't need to get rid of your monolith because you need to scale a small part of it.