Apache
High traffic: Serving 100,000+ unique visitors in 24 hours and over a 1,000,000 a month
Posted March 12th, 2007 by Caleb G
Recently a client we helped get started with Drupal and admin their backend systems for, had their first 100,000+ unique-visitors day.
Everything went well, the lessons we've learned over the years of Drupal performance tuning (Part I, Part II), combined with well planned Apache/MySQL/PHP settings provided an event-free day (other than watching the hit counter go through the roof!).
Showing that it was no fluke, the site has had numerous 100,000+ days since then and has settled into an average of 40-50,000 unique views a day / 1,200,000-1,500,000 visitors a month.
If you have a Drupal site that you need to prepare for high traffic and high availability, give us a shout. We can help you handle it.
Prepare your Drupal site to be Slashdotted, Dugg, and Farked - Part II
Posted February 15th, 2007 by Caleb GIt's been a couple weeks since we posted part one of our look at optimizing a Drupal site to withstand large amounts of traffic,
and since that time it happened again - a site we host, got "Farked" (an inbound link from Fark.com) even bigger than it did last time. In the 8 short hours since the link to the client's site went up, and as I write this - the site has received 27,000 + unique viewers. When I logged in there to the site there actually were 1850 users online at the same time.
We just about fell out of our chair when we saw that...
...after all this is a site is that's on a shared server - not a dedicated one. And those kind of numbers would even give some dedicated servers a thorough workout. In the meantime, it was operation 911. Forget the long term issue of finding a larger server space for this site which clearly is outgrowing it's enviroment - that could be handled afterwards. Right now, we had to get the server and site back pronto.
Blocking referrer spam, mal-bots, and other malicious weasels with htaccess
Posted February 10th, 2007 by Caleb GAnyone who runs a site/server for very long will likely find out about the gruesome underbelly of the online work - spammers. They come in many shapes and sizes (most are bots), and with different purposes each, but they each have this in common - they hurt your site/server and it's available resources.
Below are some things to look out for and some methods to take care of one particular type of spam, referrer spam, which can cripple a site/server in no time. With enough referrer spam you'll have what amounts to a denial of service attack (e.g., so many junk requests that the server can't even tend to the real ones).
Example of how serious this can be
Recently one of the sites we host had a big traffic day thanks to being front paged at Fark.com and Foobies.com. 18,000+ unique visitors in 18 hours. Suffice it to say that put quite a load on the shared environment they were hosted in. Well, guess what - the (unrelated) spam attack the site received a few days later actually created more than twice the load on the server that the huge amounts of legitmate traffic did!
