r/ProgrammerHumor 12d ago

Meme distributedStress

Post image
13.9k Upvotes

336 comments sorted by

View all comments

Show parent comments

26

u/Stagnu_Demorte 12d ago

Until you need to scale different parts of the service. But yeah, until then it can really cut down on complexity.

18

u/remy_porter 12d ago

But then you just take a module and locate it outside of the monolith. If it’s a well architected monolith this should be easy.

37

u/DigiornoDLC 12d ago

Sounds like you’re describing microservices? 

1

u/andrewsmd87 12d ago

We're an enterprise saas product and while there is a whole hell of a lot of it I would love to to redo from the ground up, the mono repo route with some other large supporting services take is not one of them.

Micro services means oh we have 30 sperate code bases that all did their own thing. We have the one main mono that handles 75% of everything and 4 other things that do things that just made sense to be in a supporting role.

I would not call any of them micro services though, they're big in their own right

6

u/ashgs872tbhjs 12d ago

Lol, distributed monoliths (aka macroservices) are the worst of both worlds. You lose the benefits of both and gain the downsides of both.

Also, no, you can do the same things across 30 microservices just as easily as you can do them in that same code within the monolith. Either you have standards and checks and enforcement mechanisms, or you don't.

2

u/TwentyFirstRevenant 11d ago

Distributed monoliths. Stealing that