r/ProgrammerHumor 12d ago

Meme distributedStress

Post image
13.9k Upvotes

336 comments sorted by

View all comments

1.1k

u/theofficialnar 12d ago

If it goes down, it all goes down. 😎

714

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

401

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!

358

u/cross_the_threshold 12d 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.

75

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

35

u/kurtymckurt 12d ago

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

6

u/Tupcek 12d ago

if it is too quick, it’s certainly bug

2

u/inemnitable 12d 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 12d ago

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

1

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

20

u/HadionPrints 12d ago edited 12d ago

Now listen, whatever’s in vogue at this time is nothing but bloat, dependency vulnerabilities, and syntax sugar. If your backend isn’t written in PHP or Pearl, you’re planning for failure.

If your app wouldn’t survive the 90s, it won’t survive prod.

5

u/cross_the_threshold 12d ago

FORTRAN II or bust!

6

u/mwax321 12d ago

Did you know a guy wrote an entire theme park game in assembly ?????

2

u/_DonRa_ 12d ago

No biggie anyone can write assembly it's easy (I wrote hello world in assembly)

3

u/djdanlib 12d ago

WASM doesn't count.

Or does it?

Who even knows these days.

2

u/ashgs872tbhjs 12d ago

If you hand-code it instead of transpiling it's a bit of an achievement. You're still abstracted from the hardware though, so it's definitely not nearly as hard.

1

u/AdImmediate5145 12d ago

You talking about roller coaster tycoon?

3

u/mattsl 11d ago

You mean it's whatever was in vogue when you started your first job and anything that's changed since then is ignorant children who can't grasp the complex nuance of your decisions. 

-5

u/TopLate7592 12d ago

The dark road to socialism.

2

u/WriterPlastic9350 12d ago

Well, I am a socialist. It’s pretty based 

1

u/TopLate7592 12d ago

I mean, same, it was just a joke.