In electronics (including hardware,
communication and software), scalability is
the ability of a system, network, or process
to handle a growing amount of work in a
capable manner or its ability to be
enlarged to accommodate that growth.
• Founded in 2005 in a garage
• Officially launched in December 2005 with
8 million videos watched per day
• 100 million views a day in July 2006
• Over 4 Billion videos viewed per day in
• 72 hours of video uploaded every minute
in May 2012
x 12 in
YouTube videos watched per day
Notice the logarithmic scale, bro?
• Founded in March 2006
• Officially launched in July 2006
• 400’000 tweets per quarter in 2007
• 100 million tweets per quarter in 2008
• 65 million tweets per day in June 2010
• 140 million tweets per day in March
2011, 1’600 tweets per second
x 230 in
Tweets per day
Recognise the scale?
BETTER BE PREPARED
Rewriting your web app to be scalable
at the same time scale it to accommodate
a 10 to 100 fold of customers
in 12 month?
Sounds like a challenge!
PLAYING FOR TIME
Strategies to Scaling out a Non-Scalable Web App
KEEP THINGS SIMPLE
Add caching reverse proxy to reduce the
load on your web app and server
WE ALL START SMALL
Separate database and app server to gain
CPU and I/O-performance
LET’S START THE PARTY
Redundant Load Balancer
w. HTTP Acc.
We still need