Ask HN: Quick 'n dirty Django scaling tips? (Wikileaks just tweeted and fb'd us)
The site in question: http://epicstep.com
I recently helped launch a startup called Epic Step that crowdsources billboards in America. I work at a dev shop in Los Angeles, we built it, but it's not technically ours. The guys decided to launch it in a somewhat limited alpha mode (good idea) to prevent the site from imploding. Basically, launch with a few campaigns and let people interact with those, limiting the creation of new ones.
One of the first campaigns is for a Wikileaks billboard in Los Angeles. Wikileaks tweeted about it today, and just threw it on their Facebook page. The Facebook story has ~700 likes and a lot of comments, and the site is getting hit pretty good right now.
The site is built in Django. The stack it's running on right now is a 512mb Slicehost with nginx and uWSGI, MySQL for the db. It's actually doing pretty damn well right now... server was swapping but has about 130mb of free memory right now. CPU usage is also surprisingly low, most of what we're facing right now is high mem usage.
Right now my battle plan is: if mem usage gets too incredibly high, just resize the slice and once things settle out we'll built out better infrastructure.
TLDR: Are there any other things we can do to improve performance for this evening? I'm worried that the Wikileaks traffic is going to destroy this!
I'm terrified because while two very high-traffic sources are linking to us, the site is doing fine right now and that just doesn't sit right. Either the crowd hasn't really come yet, or I actually did a decent job with the server and I need to just relax.