Django in my case but I'm sure the same advice applies to Ruby and PHP in this setup. How does memcached fit into this setup? I assume it site behind nginx but in front of the FCGI app?