Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
3Activity
0 of .
Results for:
No results containing your search query
P. 1
Scaling Rails with memcached

Scaling Rails with memcached

Ratings:

4.71

(7)
|Views: 4,271 |Likes:
Published by Oleksiy Kovyrin
One Rubyist’s Guide to Hazardous Hits
One Rubyist’s Guide to Hazardous Hits

More info:

Published by: Oleksiy Kovyrin on Mar 03, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

08/04/2010

pdf

text

original

 
Scaling Rails withmemcached
One Rubyist’s Guide to Hazardous Hits
1
memcached is your best friend and your worst enemy.
 
Who is this kid?
CNET Networks
PHP DeveloperRails Developer
Chowhound
Chow.com
GameSpot
TV.com
MP3.com
2
- I work for CNET Networks in San Francisco.- I used to do PHP for www.gamespot.com, www.tv.com, and www.mp3.com.- GameSpot is one of the two biggest gaming sites on the web, the other being IGN. They arepretty evenly matched.- I now work full time as a Rails developer on www.chowhound.com and www.chow.com (launchingSeptember 15th, 2006).
 
GameSpot
30 million page views per day
50 million++ during E3 (mid-May)
[ 3000 req/s ]
~70 app servers
Netscalers
~15 database servers
h4, aache 2, msl 5
3
E3 was a press event held yearly, 2006 being the final year. During this year’s E3 the Sony,Microsoft, and Nintendo press conferences were streamed live by GameSpot. We had the exclusiveon the Sony and Nintendo conferences, with both companies’ domains pointing to our webcast as itwas happening. Massive tra
f
c, everything went crazy. We had about 100 app servers for E3, all inthe red during peak times.Imagine millions of teenage boys constantly hitting refresh.Typical setup: request hits Netscaler (load balancer), Netscaler decides which app server gets therequest. Use gzip compression to save bandwidth (but had to turn it o
 
due to load for peaks atE3).

Activity (3)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
JB Rainsberger liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->