Check out:
How do you scale your web application?
11–20 of 41 posts
Re: How do you scale your web application?
#12Re: How do you scale your web application?
#13Re: How do you scale your web application?
#14Re: How do you scale your web application?
#15Ah caching, the cause of and solution to all of life's problems.
-Phil Karlton
Re: How do you scale your web application?
#16We scale Streamfile.com with Erlang. Both front & back-end. Check out: http://www.erlang-web.org/
Re: How do you scale your web application?
#17Step 1. Measure, measure, measure: response time, page load time, query time
Step 2. Identify bottlenecks: Why isn't your page load snappy? Too much JS? Round-trip to DB is killing you? Your mongrels are overloaded?
Tip: Use YSlow for frontend measurements and take most of its advice
Step 3. Fix bottlenecks: Lots of techniques to fix faster frontend performance, start with YSlow above. Architectural and backend issues can be solved with a combination of hardware (load balancers, more web boxes, more db boxes) and software (better caching strategies, evolve your DB architecture, break up your application into smaller micro-apps that scale independently)
Step 4: Go to step 1 and keep at it.
I'd have to say that if you're not doing Step 1, you're going to fail now, or eventually. As one of my first mentors taught me:
"You cannot improve, what you don't measure"
Re: How do you scale your web application?
#18After the easy stuff: move your database to its own server, add a load balancer in front of additional web servers, implement memcached, start splicing your database to multiple servers, continue to add web servers, serve your static files from a cdn
Re: How do you scale your web application?
#19After the easy stuff: move your database to its own server, add a load balancer in front of additional web servers, implement memcached, start splicing your database to multiple servers, continue to add web servers, serve your static files from a cdn
Re: How do you scale your web application?
#20After the easy stuff: move your database to its own server, add a load balancer in front of additional web servers, implement memcached, start splicing your database to multiple servers, continue to add web servers, serve your static files from a cdn