I'm looking to build a High Performance website. It has thousands of static HTML pages, that are specifically rendered depending on a form submit. I have a ruby script that generates these static HTML Pages and stores them on the server.
Now I'm looking at 1000+ concurrent users on the site. Which is the fastest way to serve these users. I believe Nginx + Varnish can do an extremely good job for this kind of a scenario. Are there any further optimizations that I can do?
Is there a way instead of NGinx + Varnish hitting the disk for the HTML pages, it hits the RAM instead. Using Memcached somehow.
I'm already considering moving out the other static assets likes Images/Stylesheets to a CDN. Please advise on what's the best way to go about this.
[Reposted from StackExchange : http://stackoverflow.com/questions/6439484/building-a-high-performance-static-website]