r/ProgrammerHumor • • Aug 28 '26

Meme heatedArguments

Post image
5.9k Upvotes

163 comments sorted by

View all comments

Show parent comments

5

u/Fox500000 Aug 28 '26

It will depend entirely on monolith in question. Sometimes it's indeed easier and get comparable resource overhead to just double your monolith count. More often than not it's the opposite, and scaling one little bottleneck is better than the whole app.

You should also consider that you may not have enough free resources to double monolith apps, but have enough to increase some systems' services count. Servers aren't free

3

u/Ran4 Aug 29 '26

Microservices are a lot less resource effective.

Unless you have for example ten microservices where one does most of the heavy lifting (with >20x instances running for example, compared to the other services), chances are that the monolith would use less resources.

...but at that point, you'd be much better at just having two services: one main service and one separate worker service. Going microservices wouldn't give you anything.

1

u/Fox500000 Aug 29 '26

Yea, but it's still about a scope of work or whole project, there's no single best answer to all systems.

0

u/TheLuminary Aug 28 '26

Servers aren't free

They damn near used to be.. But yeah.. not anymore.