this post was submitted on 03 Aug 2025
372 points (100.0% liked)

Programmer Humor

25448 readers
880 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Kazumara@discuss.tchncs.de 13 points 10 hours ago (7 children)

Funny how many here took this to be real, judging from the reactions. To me it's an obvious joke.

Question to you guys: How do you suppose 200 million customers will share the less than 65'536 ports that are available on that one address?

[–] shane@feddit.nl 5 points 8 hours ago (1 children)

A TCP session is a unique combination of client IP, client port, server IP, and server port.

So you can use the same IP and port as long as the destination is a different IP or port.

This means that in principle you could use the same IP and port to connect to every IP address on the Internet using 65536 concurrent sessions. 😆

This wouldn't help going to popular destinations, since they have a lot of people going to the same IP address and port, but for many (most?) of them you probably have some sort of CDN servers in your data centers anyway.

[–] Kazumara@discuss.tchncs.de 2 points 7 hours ago

A TCP session is a unique combination of client IP, client port, server IP, and server port. So you can use the same IP and port as long as the destination is a different IP or port.

Fair point! I wasn't aware of any NAT working that way, but they could exist, I agree. It does blow up the session table a bit, but we are taking about a hell of a large theoretical system here anyway, so it's not impossible.

This wouldn’t help going to popular destinations, since they have a lot of people going to the same IP address and port, but for many (most?) of them you probably have some sort of CDN servers in your data centers anyway.

Actually we have recently seen a few content providers not upgrading their cache servers and instead preferring to fall back to our PNIs (which to be fair are plenty fast and have good enough latencies). On the other hand others made new ones available recently. Seems there isn't a universal best strategy the industry is converging on at the moment.

load more comments (5 replies)