Taking a minute to veg out from work here…

So, I’ve survived my first /.ing. Still a lot of hits coming in, about 1 or 2 ever few seconds, but nothing too bad. Interesting seeing the /.ing happening first-hand. I don’t think the server ever buckled, as I had a pretty reasonable throttle policy (50req/30s, set to 40req/90s to spread the love to some mirrors). Surprisingly few redirects though. About 1300 last night and 2700 this morning. So far, my servers kicked out over 60GB and still going. Some stats, brought to you ‘grep’, ‘wc’, and (what would we do w/o you) ‘|’, approximately:

  • 17,000 hits on the index page
  • 11,000 hits on the flash presentation
  • 1,000 hits on the MP3 file
  • 160 hits on the tarball (for those who “want it all” I guess)

In any case, while this is all well and good, I just wanted to mention how much I love Apache. Creating a weighted redirect was trivially easy. It was just a matter of creating a custom error document and creating a little php script w/ a switch that would generate a random number from 1-100 and redirect w/ a Location header as appropriate (so, if $i<40 would redirect 40% of the excess load to a specific mirror). The only thing that would have been more slick is if mod_throttle passed the exact URI in the REDIRECT_ERROR_NOTES, which would allow more exact redirections (by default, it only passes the policy name).