4 ms·
100's of problem children sounds like a step too far. A few services > monolith monolith > 100's of services. The big trick with any technology is to apply i
by jacquesm 8y ago
100's of problem children sounds like a step too far.
A few services > monolith
monolith > 100's of services.
The big trick with any technology is to apply it properly rather than dogmatically and if you are breaking up your monolith into a 100's(!) of microservices you are clearly not in control of your domain. That's a spaghetti of processes and connections between them rather than a spaghetti of code. Just as bad, just in a different way.
- matwood 8y agoGreat point. I like separate services, but would cringe at 100s of services in any system I have seen.
- spyspy 8y agoI can't believe this made it out of any planning meetings. Engineer 1: "We'll have one repo per downstream service." Engineer 2: "But we have hundreds of those, so now we have to manage hundreds of github repos???" Anyone sane: "That doesn't sound right, we should rethink this..."
- jacquesm 8y agoI've seen worse. And I wished that I was kidding.
- lagadu 8y agoStorytime?
- jacquesm 8y agoEvery microservice on its own little cluster of VMs for HA and performance... A couple of hundred VMs is nothing in a scenario like that. Good luck trying to debug anything.
- organsnyder 8y agoThat's basically how microservices are operated on orchestrators like Kubernetes—just substitute "container" for "VM", which is a mostly-academic difference from the perspective of your application. Operations tooling—distributed tracing, monitoring, logging...—is essential.
- grey-area 8y agoProbably because when they suggested it they had about 10, growing by 1 per 6 months. Then a few years later they end up with 100, growing by a few a month, and need to rethink. I though this was an honest and interesting look at a decision which in retrospect was a bad idea. Hopefully it'll stop some other people making similar mistakes (too many repos, too many services, fast changing libraries shared between many services, etc...). It'd be better if it wasn't framed as having found that the one true way is the monolith, but there are some lessons here for most devs.
- bartread 8y ago> Just as bad, just in a different way. Actually worse in many ways: - Harder to test - Harder to debug - Harder to deploy - Harder to monitor - Harder to reason about, refactor, change/add functionality - You've (basically) turned a lot of the operations your services need to perform into RPCs, probably killing performance on top of everything else, leading to - More complex/demanding (or just MOAR) infrastructure requirements - Higher dev, maintenance and infrastructure costs - Slower delivery of value to the business and customers - Potentially crippling opportunity costs It surprises me how often people don't see this coming. Seriously: keep your systems as simple as you possibly can. Unless you're Netflix, dozens or hundreds of microservices probably isn't as simple as you possibly can.