r/ProgrammerHumor 3d ago

Meme distributedStress

Post image
13.8k Upvotes

335 comments sorted by

View all comments

Show parent comments

709

u/mwax321 3d 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

399

u/WriterPlastic9350 3d 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!

358

u/cross_the_threshold 3d ago

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!

Listen here you little shit there is one god-ordained way to build things and it's whatever is in vogue at this particular moment in time using whatever language is in vogue at this particular time, how dare you imply that there may be situations and needs that require different approaches.

74

u/mwax321 3d ago

The key to success is to have a monolith so large that it takes an hour to build and publish.

When visual studio finally went 64 bit, you thought the solution was bugged because it loaded so fast.

34

u/kurtymckurt 3d ago

The ci better take 24 hours to build and test or you’re not monolithing properly

7

u/Tupcek 3d ago

if it is too quick, it’s certainly bug

2

u/inemnitable 3d ago

No no no, if it compiles the first time it's bugged. If it builds fast you accidentally rm -rf -ed the repo.

1

u/NUTTA_BUSTAH 3d ago

You jest but this is how we catched many problems at one shop.

1

u/mwax321 2d ago

If I'm being brutally fair to some of the garbage build times I've had in the past:

A lot of times, these are caused by me having to use 3 different versions of some library because of legacy code. Or we license some library that requires a fuck ton of dependencies that only the library uses.

But to build it all ourself would also be a complete waste of time.

I remember a big offender back in the day were those Microsoft Office file editor libraries. To upgrade would cost the company some ridiculous $20k license and offer zero additional features that we need.

And so, yeah, we keep including the old newtonsoft json because it needs it!

1

u/FerusGrim 2d ago

When visual studio finally went 64 bit, you thought the solution was bugged because it loaded so fast.

Not strictly this scenario, but I worked a job for a few years where every compilation took minutes. It was common practice to finish up a bunch of work and queue a slew of compilations before your lunch break.

Then I got a new job and worked with a bunch of tinier, discrete applications which would compile in a few seconds. I'd become so use to quick compilations only ever being the result of an error killing the job that for at least a week afterwards my blood pressure would rise whenever a compilation would finish in <10s.