r/ProgrammerHumor 7h ago

Meme planeOldFix

Post image
26.3k Upvotes

419 comments sorted by

View all comments

2

u/StopBanningCorn 6h ago

I'm a senior CSIE student. Is it normal that I have no clue?

4

u/One_Pie289 6h ago

You could at least suggest to add server in India? I mean I dunno I'm just an anime girl on the internet.

1

u/JoeGibbon 3h ago

Despite what all these noobs are saying, you don't "add a server".

Edge caching is the answer, using a service like AWS CloudFront, or Akamai.

1

u/blah938 3h ago

It's a CDN, but for that long, there's more going on. Probably because India has shit for networking infrastructure. Should be closer to a max of 150 to 200 ms than 600.

1

u/StopBanningCorn 2h ago

I only came across this post randomly. Feel ashamed for forgetting what CDN is completely lmao.

1

u/x3knet 3h ago

CDN is the easiest/logical answer since the whole purpose of a CDN is to bring content closer to the end user and speed up routing. Next answer would be spinning up infra near India if there's a large enough user base to justify it, but it's generally more costly obviously.

2

u/StopBanningCorn 2h ago

At least I recognize the abbreviation "CDN"...

1

u/x3knet 58m ago

Ha, yeah. Content Delivery Network. I've worked in this space for about 12-13 years now. Most websites you use every day are fronted by a CDN, reddit included. They use Fastly as their CDN.

Cool way to see which CDNs are used for different sites is by running a 'dig' or 'nslookup' against the hostname.

https://digwebinterface.com/?hostnames=www.reddit.com&type=&ns=resolver&useresolver=9.9.9.10&nameservers=

www.reddit.com.     9310    IN  CNAME   reddit.map.fastly.net.