Your SlideShare is downloading. ×
Sandro Zaccarini, Achive escape velocity
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Sandro Zaccarini, Achive escape velocity

1,233
views

Published on

Speech WordCamp-KnowCamp, Modena …

Speech WordCamp-KnowCamp, Modena
19 marzo 2011


0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,233
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Achive Escape Velocity Sandro “guly” ZaccariniThursday, March 17, 2011
  • 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/2011Thursday, March 17, 2011
  • 3. What is Escape Velocity? A Chemical Brother’s song! Achieve Escape Velocity - guly@WordCamp 19/03/2011Thursday, 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/2011Thursday, March 17, 2011
  • 5. How does our Planet work Achieve Escape Velocity - guly@WordCamp 19/03/2011Thursday, 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/2011Thursday, 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/2011Thursday, 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/2011Thursday, March 17, 2011
  • 9. Aurora nginx: * very fast webserver * scalable * low footprint Achieve Escape Velocity - guly@WordCamp 19/03/2011Thursday, 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/2011Thursday, 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/2011Thursday, March 17, 2011
  • 12. Aurora varnish: * very fast caching proxy * say it again: very fast caching proxy Achieve Escape Velocity - guly@WordCamp 19/03/2011Thursday, March 17, 2011
  • 13. Aurora memcached: * scalable * distributed Achieve Escape Velocity - guly@WordCamp 19/03/2011Thursday, 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/2011Thursday, March 17, 2011
  • 15. How does Aurora work OpCode Achieve Escape Velocity - guly@WordCamp 19/03/2011Thursday, March 17, 2011
  • 16. How does Aurora work Achieve Escape Velocity - guly@WordCamp 19/03/2011Thursday, March 17, 2011
  • 17. Problem solved! ..but did we achieve escape velocity? Achieve Escape Velocity - guly@WordCamp 19/03/2011Thursday, 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/2011Thursday, March 17, 2011
  • 19. Escape Velocity Likely 10 time faster! Achieve Escape Velocity - guly@WordCamp 19/03/2011Thursday, 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/2011Thursday, 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/2011Thursday, March 17, 2011
  • 22. Thanks to Achieve Escape Velocity - guly@WordCamp 19/03/2011Thursday, March 17, 2011
  • 23. Question? Acta est fabula, plaudite! Achieve Escape Velocity - guly@WordCamp 19/03/2011Thursday, March 17, 2011
  • 24. Who am I? Sandro “guly” Zaccarini Security Artist guly@luv.guly.org #theguly Achieve Escape Velocity - guly@WordCamp 19/03/2011Thursday, March 17, 2011