Alireza
Alireza

Reputation: 6868

why high traffic sites use serial subdomains for fetching data?

I've seen so many sites like pinterest,G+, etc that use different subdomains to fetch desired data. why would they do that? Is there any difference between one static subdomain an subdomain as below for pinterest:

media-cahce-ec0.pinterest.com
media-cahce-ec1.pinterest.com
media-cahce-ec2.pinterest.com
.
.
.
media-cahce-ec9.pinterest.com

I appreciate in advance for any suggestion?

Upvotes: 2

Views: 142

Answers (1)

bytecode77
bytecode77

Reputation: 14860

The reason is simple: Each sub domain refers to a different server. Ping them and you'll see the IPs are different. This is a load balancer so that the the web server doesn't have to handle the traffic of the images and downloads.

Pinging two different servers

Upvotes: 2

Related Questions