3 ms·
My biggest struggle is people want to use them. I can't tell you how many junior devs I've ran into who dream of every single function call becoming a distribut
by anonacct37 9y ago
My biggest struggle is people want to use them. I can't tell you how many junior devs I've ran into who dream of every single function call becoming a distributed read/write in the message bus.
It's tough to fit this in a small comment, but I would say avoid microservices until you know they are the right solution. They are often the right solution when you have multiple teams with independent development schedules. They are often the right solution if you have daemons that have fundamentally different characteristics (web server vs message consumer).
They are often not the right solution when you decide you need another module in your app.
Distributed systems are moving parts. Moving parts break. You shouldn't have more than necessary. Deciding what "necessary" is is a pretty tough task.