How do I LIMIT traffic to my site?
Posted by: Scaramouch
Posted on: 2005-09-28 19:36:00
I'm not exactly sure where to search for help on this, so thought I'd make a post in the forum.
I set up with Dreamhost back in April and overall I've been very happy with the service. I run a blog that has slowly been gaining in traffic week on week.
Occassionally one of our contributors will post a story that gets picked up by other blogs and we see a temporary spike in traffic. I usually dies back down after a day or two, but we're still grateful for the traffic it brings, because a few of those people hang around and become regulars.
Today, however, Dreamhost took my site offline after one of our stories got picked up by quite a few other blogs and the traffic started to approach 5k visitors an hour. The reason I was given is that we had too many simultaneous users, and we were taking up 35% of the server.
While I understand that we're on a shared server, and realize that I can only take up so many connections at a time, how do I know what the threshold is, and how do I plan for that? Ideally, I'd need some way of turning off a switch myself before things get out of hand. because now I'm sitting here with no website, and I'm kind of at the mercy of Dreamhost as to when/if it's turned back on again. The only thing I can think of is, not to write any stories that will be too popular, which is clearly an absurd solution. Moving to some kind of dedicated server is also not really an option because, after the spike goes down, I know our traffic will be back down to it's low regular size (which is probably no more than 7-10,000 visitors a day. A spike sees that shoot up to maybe 35-40k visits a day). This is just an amateur site - we make a couple of bucks a day in ad revenue from Adsense, so no way can I afford $100 a month on a dedicated server. I'm so under our bandwidth quota I don't see us EVER using all that up.
Anybody have any ideas on what we do now? Anyone here had a similar problem?
Thanks
Steve