Hacker News new | ask | show | jobs
by mkramlich 5795 days ago
1. caching

2. prefer static content over dynamic, as much as possible

3. lots of machines, with the requests distributed across all of them

these 3 strategies alone will buy lots of scale

1 comments

That's the magic formula we use at work (200+ sites, many with 1 million+ unique visitors per month). I apply the same techniques to my own projects, even though it's unnecessary at this point.

Our sites run on a standard LAMP stack (load balanced across between 2 and 25 machines using an F5), memcached for object and query caching, caching at the application level, varnish and nginx for file caching, and limelight CDN for serving images, css, and javascript.