March 1, 200818 yr say you have a normal website hosted by some company like godaddy or dreamhost. what do you do if your site starts getting massive traffic and the server can't handle it? is there some hosting companies that can accomodate larger traffic? say like 30 million page views a day for example.
March 1, 200818 yr 1st thing to do in this case is switch to a dedicated physical server which is used only by your site. This means you have the full capabilities of both the bandwidth, connection limits, and power of that server, rather than sharing between 20 other sites. If this does not improve the load (or the site grows further) you would need to get two servers, usually one to host html+mysql on, and one to host large files (images). The first server (html/db) needs to be able to handle lots of connections quickly, whilst the large files one needs to have a large bandwidth limit. If the site grows further still, you can diverge to 3 servers (html, mysql, images), and if required you can split the large files across servers (using a SATA RAID replication or similar), and can also do so with the MySQL by its own replication technologies (surprisngly easy to set up). The key lesson to learn, however, is that lots of small and cheap servers will be better than a small number of ultra-high-spec servers - after all, if one server goes down you would be screwed with the expensive one.
March 1, 200818 yr Author how much traffic can an average server handle? take this forum for example, how do you know its traffic limit? will a server approaching its traffic limit end up crashing or will it just be sluggish?
March 1, 200818 yr It depends entirely on the server. Most servers approaching their limit will just go really slowly, and if it gets particularly pronounced some users will start experienced timeouts - ie the server replies so slowly that browsers thinks there is a 404. There is no easy way to figure out a servers capacity, although it is safe to say that the WDF one would bottle it well before 1 million hits a day.
March 1, 200818 yr It depends entirely on the server. Most servers approaching their limit will just go really slowly, and if it gets particularly pronounced some users will start experienced timeouts - ie the server replies so slowly that browsers thinks there is a 404. There is no easy way to figure out a servers capacity, although it is safe to say that the WDF one would bottle it well before 1 million hits a day. *goes to find one million people to try this out* If you are expecting around 30 million hits, then definitely get yourself a dedicated server. It would help to talk to the host you chose, before you buy the server; that way they can probably offer you some advice as the specs to get. I can recommend a good host that I use: Surpass Hosting - their support is top notch, and the service hasn't gone down in over a year for me. Rob
March 1, 200818 yr If you start to experience a huge increase in traffic, or know there's one on the way the first thing you should do is contact your host so you can work out a contingency plan. For that sort of traffic they will know how their servers will react and should be able to work with you at short(ish) notice. More times than not they will likely suggest a Dedicated server anyway.
Create an account or sign in to comment