sandro zaccarini, achive escape velocity
DESCRIPTION
Speech WordCamp-KnowCamp, Modena19 marzo 2011TRANSCRIPT
Achive Escape Velocity
Sandro “guly” Zaccarini
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Agenda* What is escape velocity?
* How does our Planet work?
* Why don’t we like it?
* Which alternatives do we have?
* Let the countdown begin!
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
What is Escape Velocity?
A Chemical Brother’s song!
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
What is Escape Velocity?It is the speed needed to "break free" from a gravitational field without further propulsion (WikiPedia)
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
How does our Planet work
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Why don’t we like it* Apache is a piece of junk (Theo de Raadt@OpenCON2005)
* mod_php slow as hell
* no caching
* poor performances
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Which Alternatives?Purge client isn’t possible...
...no more buyers
So we’re going to Aurora!
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Going to Aurora* drop apache, love nginx
* subs mod_php with php-fpm
* opcode cache APC/xcache
* static page caching, more love to varnish
* db caching with memcached
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Auroranginx:
* very fast webserver
* scalable
* low footprint
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Auroraphp-fpm:
* FastCGI process manager
* comm via tcp or unix socket
* dynamic process spawn
* chroot, setuid, php.ini foreach process
* support stats and slow-logs
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
AuroraAPC/xcache:
* compile and cache php code
* no flame please, choose what you prefer
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Auroravarnish:
* very fast caching proxy
* say it again: very fast caching proxy
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Auroramemcached:
* scalable
* distributed
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Make it WordPress-ablewordpress plugins:
* W3 Total Cache
* WP Super Cache
* ok, fight for your favourite one
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
How does Aurora work
OpCode
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
How does Aurora work
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Problem solved!..but did we achieve
escape velocity?
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Escape Velocity10/1000 Apache Aurora
Time per Req ~140 ~15
Time to serve 95%
~1500 ~65
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Escape Velocity
Likely 10 time faster!
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Countdown started3) we know issues
2) we know howto fix
1) we achieved escape velocity
mark) phone your sysadmin!
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Open Problems* no https out of the box
* no WAF (ping IronBee)
* nearly impossible on shared hosting services
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thanks to
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Question?
Acta est fabula, plaudite!
Thursday, March 17, 2011
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Who am I?Sandro “guly” Zaccarini
Security Artist
#theguly
Thursday, March 17, 2011