Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: phranque
I have a client with a E-Store (modified OSCommerce site) that has been trucking along happily for the past 6 years or so consuming about 1o-12 gigs of bandwidth every month. The site is hosted on a VPS with 20 gigs monthly bandwidth allotment.
He calls me last night and says he will be appearing on the Today Show (in fact, they are filming today) and wants to know if his site will "take the hit."
I provide the obvious answer (which he already suspects or he wouldn't have called), "Probably not."
He is not sure when this segment will be shown, but he sure would like me to take steps to insure it can handle the traffic.
Which brings me to my question - short of a massive upgrade of infrastructure (dedicated server, load balancers, etc.) that is hardly justified by the normal traffic flow to this site, are their any steps I can take to better the odds that this site will take what will undoubtedly be a huge one time spike in traffic?
Any help/advice would be greatly appreciated since I have never had the experience of what amounts to being slashdotted.
All the potential high bandwidth used by the lookieloos that bounce away will be minimized. Place keyword optimized link(s) there leads to the landing pages(s) discussed in his interview. One extra click for a day or so is a small inconvenience.
You can create a static version of your default.php (just save output of default.php in browser and place then on server together with default.php as index.html).
Make sure that index.html loads instead of default.php when you access the front page ("/") of your server (you can set it up in your web server configuration, or probably it will work by default).
Then again, as MatthewHSE said, you can move images and CSS (needed for your front page) off your server to Amazon's EC2 to make sure you handle bandwidth.
Probably 99% of all users won't go further than the front page, and your customer hope to be Ok.
The most interest we got was from potential partners and advertisers... but there really was no traffic surge...
But if you are concerned, just make a static version of your homepage... that should be good.
maximillianos, that would have been my thought, but a couple of years ago I had an associate (in the same industry niche) get knocked off-line after a segment on "The View". I don't know what the traffic spike looked like (he only gives up so much info) but I know they were down for the better part of the day. I also think they had some bandwidth overage charges come due.
Even without the potential surge, it is a pretty good idea to either cache or make your homepage static.
Ours is static but gets generated every 5 minutes...;-)
I would contact the ISP and see if they can ramp your virtual settings up for the day. Most ISPs can do this, at a small price of course.