Optimizing APC
Gopal Vijayaraghavan Zynga India gopalv@php.net
July 29th, 2011
Optimizing APC Gopal Vijayaraghavan Zynga India gopalv@php.net - - PowerPoint PPT Presentation
Optimizing APC Gopal Vijayaraghavan Zynga India gopalv@php.net July 29th, 2011 So, what's this talk about ? http://flickr.com/photos/frogmuseum2/238601344 A Retrospective http://www.flickr.com/photos/childofwar/3097124543/ What Changed?
July 29th, 2011
http://flickr.com/photos/frogmuseum2/238601344
http://www.flickr.com/photos/childofwar/3097124543/
http://www.flickr.com/photos/thomasthomas/258931782
http://www.flickr.com/photos/helico/404640681
http://www.flickr.com/photos/mukumbura/4052671706
http://www.flickr.com/photos/mar00ned/126871387/
Old New APC New APC + serialize RW Locks + igbinary
50 100 150 200 250 300 350
APC memory sizes
MB per 100,000 small arrays
new-php new-igbinary
5 10 15 20 25 30 35
Size per Item
MB
x1 x4 x8 x16 x32 500 1000 1500 2000 2500 3000
Read Concurrency (test3)
Old New APC New APC + serialize RW Locks + igbinary
Concurrency Milliseconds for 100,000 reads
new-php new-igbinary 20 40 60 80 100 120 140 160
Time to Read