What is content delivery network (CDN) and how does it work ?

603 views

What is content delivery network (CDN) and how does it work ?

In: Technology

Anonymous 0 Comments

It’s a really efficient way to distribute data like web sites.

So let’s say you have a web site, and it gets 1000 visitors a day. No problem, one server, everything is good.

But then let’s say it becomes really popular, and then you go to ten million visitors. This is where a CDN comes in handy. When a user goes to your webpage, they are actually going to the CDN. The CDN will see if it has a current copy of that page in its cache. If it does, lt sends it to them. If it doesn’t, it gets the page from your webserver and then sends it to them. The next request for that page, it doesn’t need to download from your server because it already has it.

A CDN can (and should) have endpoints all over the world, so that users are redirected to a CDN cache location near them.