Our new app has received a lot of press today, and is getting thousands of new users every hour... but it has become so slow that it's unusable.
We're using Rails 3 patched to latest, ubuntu, Unicorn, nginx, postgresql, memcache.
I have already added 8 new servers and it has barely made a difference. I have also tried setting the keepalive value of nginx to 1. Other than add more servers I'm at a loss of what to do to improve response times. I have 10 unicorn workers running per server. The issue seems to be that the request queue is just too long on each server. I could be wrong about this, I'm not totally sure what is causing it, I just know that it was working perfectly yesterday at 2% of the current load.
Any help is greatly appreciated