Building a Social Networking website, should I have separate servers for certain parts of the site? [closed]

I have been working on building a social networking website, I’m pretty committed to this and I think I have something that could work out. I hope to be launching it January 1st, and so I have a question for server setup and such.

Facebook has separate domain names/servers for their photos (and I don’t know what else), so I would assume that by doing this it would help spread the server loads out. So I am wondering if it would make a very big difference in speed if I had my main server for basically everything, but had another server and such that the photos would be stored on and access them the same way that facebook does.

Answer

So I am wondering if it would make a very big difference in speed if I had my main server for basically everything, but had another server and such that the photos would be stored on and access them the same way that facebook does.

What Facebook does with things like photos is serve them off a CDN. There are a number of CDN offerings you can avail yourself of – ones I’ve played with include CloudFlare and Amazon CloudFront. Both are very nice.

If your site becomes successful and popular, eventually you’ll need more than one server, if for no other reason than redundancy in case one crashes… but chances are that’s something you can worry about more once you’re up and running.

Attribution
Source : Link , Question Author : Dylan Cross , Answer Author : ceejayoz

Leave a Comment