2. 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!
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
3. What is Escape Velocity?
A Chemical Brother’s song!
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
4. What is Escape Velocity?
It is the speed needed to "break free" from a
gravitational field without further
propulsion (WikiPedia)
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
5. How does our Planet work
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
6. 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
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
7. Which Alternatives?
Purge client isn’t possible...
...no more buyers
So we’re going to Aurora!
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
8. 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
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
9. Aurora
nginx:
* very fast webserver
* scalable
* low footprint
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
10. Aurora
php-fpm:
* FastCGI process manager
* comm via tcp or unix socket
* dynamic process spawn
* chroot, setuid, php.ini foreach process
* support stats and slow-logs
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
11. Aurora
APC/xcache:
* compile and cache php code
* no flame please, choose what you
prefer
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
12. Aurora
varnish:
* very fast caching proxy
* say it again: very fast caching
proxy
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
14. Make it WordPress-able
wordpress plugins:
* W3 Total Cache
* WP Super Cache
* ok, fight for your favourite one
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
15. How does Aurora work
OpCode
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
16. How does Aurora work
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
17. Problem solved!
..but did we achieve
escape velocity?
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
18. Escape Velocity
10/1000 Apache Aurora
Time per Req ~140 ~15
Time to serve
~1500 ~65
95%
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
19. Escape Velocity
Likely 10 time faster!
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
20. Countdown started
3) we know issues
2) we know howto fix
1) we achieved escape velocity
mark) phone your sysadmin!
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
21. Open Problems
* no https out of the box
* no WAF (ping IronBee)
* nearly impossible on shared
hosting services
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
22. Thanks to
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
23. Question?
Acta est fabula, plaudite!
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011
24. Who am I?
Sandro “guly” Zaccarini
Security Artist
guly@luv.guly.org
#theguly
Achieve Escape Velocity - guly@WordCamp 19/03/2011
Thursday, March 17, 2011