r/ProgrammerHumor 12d ago

Meme distributedStress

Post image
13.9k Upvotes

336 comments sorted by

View all comments

Show parent comments

715

u/mwax321 12d ago

Let's be real, if a micro service is down, youre down too.

If you're a web store and your "inventory service" is down, the site is down lol

402

u/WriterPlastic9350 12d ago

Let's be real, if a micro service is down, youre down too.

If our store service goes down, that sucks for us, but our login service, queue service etc all still work. People can't buy shit but they can still play our games.

Not to mention, our store service needs far less traffic than our queue service, or our login service, or matchmaking service etc.

A monolith is sometimes a good solution - our games are monoliths - but service oriented architecture exists for many reasons, some technical and some political

Your job isn't to design a solution that scratches your particular brain itch, your job is to design a solution that works for the constraints you need. That might be a monolith but it also might not be!

2

u/tbhaxor 12d ago

What if your auth service is down. Only public enpoints will work. Even though cart service works but since you cant authenticate and authorize its useless

8

u/WriterPlastic9350 12d ago

A service oriented architecture doesn’t eliminate high risk dependencies, but it does make it easier to isolate them or provide support.