r/ProgrammerHumor • • 10h ago

Meme legendsSayTheyStillWaiting

Post image
1.2k Upvotes

38 comments sorted by

178

u/iamdestroyerofworlds 10h ago

Sometimes the journey is the destination.

85

u/AnalTrajectory 7h ago

Am I having a stroke

35

u/VictoryMotel 4h ago

It takes a lot of cleverness out of a joke when it isn't even written in a coherent way.

8

u/Cualkiera67 56m ago

you get not just it.

17

u/lacb1 7h ago

Can you smell toast?

6

u/Altruistic-Spend-896 7h ago

Have you tried rayon? That should help you distribute your clot to multiple veins

6

u/lacb1 6h ago

DDOSing your own heart is one hell of a move.

1

u/AnalTrajectory 12m ago

I've tried plenty of crayons. The red one taste the best

86

u/deanominecraft 8h ago

sometimes its fun to optimise stuf, i optimized the server for a game with 0 players up to 270k requests per second and enjoyed doing it

and no, i did not use ai

11

u/aenae 4h ago

It is fun. I work at a website and we started getting ddos attacks. For a long time we just ran with the bigger pipe and servers scenario. At one point i was able to handle over 100gbit/4M new connections per second. But usually the next big attack would be double that.

In the end we decided to hide behind a CDN which recently blocked a 10M http-requests/s attack from over 300,000 source ips which would have brought us down.

11

u/Silenceisgrey 3h ago

Honestly the big encloudening of the internet for me feels like a coordinated effort to get everyone off their own local compute and into a data center where oops your subscription just tripled

3

u/aenae 3h ago

Yep.

We still have our own datacenters (well, racks hired in a colocation). But for the 'entry' we just had no choice anymore. There was no way we could keep up with our own transits/isp's/network/waf and bot detection. We had to buy that from a big company

1

u/arvyy 1h ago

I can recommend making a chess engine to anyone who likes recreational optimization. Quite simple to implement a very basic version (some pointers: negamax to fixed depth, alpha beta pruning, material count eval). And from there, it's a long tail of various optimizations and improvements you can tinker with.

17

u/PenguinKenny 4h ago

What the fuck is the first line trying to say

14

u/ArjixGamer 6h ago

It's not about how many users you could theoretically serve, it's about how much resources you use to serve those 10 users.

If it's super optimized, then you have even more resources for other services on that same server.

9

u/Abject-Kitchen3198 4h ago

For the other user?

1

u/ArjixGamer 4h ago

You can have 20 different services for the same 10 users

6

u/Abject-Kitchen3198 4h ago

That's low number. You should have 5 microservices per user at least.

4

u/hells_own_3924 3h ago

Micro service hell.

2

u/ArjixGamer 2h ago

I wasn't talking about "micro" services, but actual services.

Like postgres, Kafka, redis, etc

2

u/hells_own_3924 2h ago

They are micro services that you use to power your app like your custom payment gateway service for your app.

You can diagree but the fact that redis is used for fast cache which you can utilize a table inside your database for cache but it'll be slow. So you're using extra service for your cache in order to be proper.

2

u/ArjixGamer 1h ago

The term micro service exists so you can scale smth horizontally, you deliberately split your backend into parts based on what they do, and replicate them on many servers.

I wouldn't call a program that I do not own a micro service, it's not smth I split up and it's not smth I can modify (w/o forking).

Sure, I could host redis across many servers and use it in cluster mode. But that would be a separate micro service architecture, external to mine.

13

u/Xaeroxe3057 9h ago edited 9h ago

Very strange angle to take when this group includes names like Cloudflare, Anthropic, and Discord

23

u/DustyAsh69 9h ago

Can't blame Discord for that. The current version of the discord app is built on Electron.

2

u/Xaeroxe3057 1h ago

Discord has been using Rust in the backend since 2018.

2

u/PM_ME_COLOMBIANBOOBS 1h ago

The backend isn't the one hitting a performance snag on your computer.

2

u/Xaeroxe3057 1h ago

Ah yes, the portion of the system which is serving over 250 million users does not require any optimization because you personally don’t notice it in your task manager.

Do you hear yourself?

1

u/PM_ME_COLOMBIANBOOBS 1h ago

Yeah, this time it was me who didn't actually read the OP.

3

u/Abject-Kitchen3198 8h ago

That's timeless. Big 4 use SPA/microservices/Kubernetes/serverless/JS->Rust so our 5 person team with 100 users has to do it as well.

2

u/Xaeroxe3057 1h ago

Look, I ain’t gonna start a whole thread with you about this but Rust is a really significant change in the space and you ignore it at your own peril.

1

u/ElvisDumbledore 4h ago

I think this post is about the fact that there a bunch of AI generated/created/assisted games on steam that no one is playing.

It's not about the technical ability of those systems to handle concurrent users. They're just so unpopular they don't even have 10 people trying to play them at the same time.

1

u/kaplotnikov 51m ago

IMHO Rust performance and safety are somewhat overstated.

The rewrite-in-Rust exercises that I've examined are usually either plagued with unsafe, or plagued with Rc/Arc/Mutex (which might have an even higher cost than an honest GC), plus sudden latency spikes on drop in surprising places. Also, let's not forget that forget is a "safe" operation in Rust, so leaks and out-of-memory failures are not prevented by the compiler (which is a problem for embedded or long-running apps where OOM is just as fatal as a segfault).

-1

u/randomguy3993 7h ago

I have 100 concurrent users. Does that count?

2

u/Abject-Kitchen3198 4h ago

You are already rich and can afford Python. Doesn't really matter.

1

u/Silenceisgrey 3h ago

hisssssssssss