5. Who Am I?
• Performance Engineer at Etsy
Saturday, August 17, 13
6. Who Am I?
• Performance Engineer at Etsy
• Boston Web Perf Meetup Organizer
Saturday, August 17, 13
7. Who Am I?
• Performance Engineer at Etsy
• Boston Web Perf Meetup Organizer
• Previously at Wayfair
Saturday, August 17, 13
8. Who Am I?
• Performance Engineer at Etsy
• Boston Web Perf Meetup Organizer
• Previously at Wayfair
• Led team that converted to PHP
Saturday, August 17, 13
12. Some Etsy Stats
• 1.5 billion page views/month
Saturday, August 17, 13
13. Some Etsy Stats
• 1.5 billion page views/month
• Almost $1B in sales last year
Saturday, August 17, 13
14. Some Etsy Stats
• 1.5 billion page views/month
• Almost $1B in sales last year
• Over 1M lines of PHP
Saturday, August 17, 13
15. Some Etsy Stats
• 1.5 billion page views/month
• Almost $1B in sales last year
• Over 1M lines of PHP
• 60M+ unique visitors/month
Saturday, August 17, 13
43. Optimizing PHP
• See last year’s talk
http://www.slideshare.net/jnklein/northeast-php-high-performance-php
Saturday, August 17, 13
44. Optimizing PHP
• See last year’s talk
• Use an Opcode Cache
http://www.slideshare.net/jnklein/northeast-php-high-performance-php
Saturday, August 17, 13
45. Optimizing PHP
• See last year’s talk
• Use an Opcode Cache
• xhprof
http://www.slideshare.net/jnklein/northeast-php-high-performance-php
Saturday, August 17, 13
46. Optimizing PHP
• See last year’s talk
• Use an Opcode Cache
• xhprof
• StatsD/Graphite
http://www.slideshare.net/jnklein/northeast-php-high-performance-php
Saturday, August 17, 13
47. Optimizing PHP
• See last year’s talk
• Use an Opcode Cache
• xhprof
• StatsD/Graphite
• Find hotspots
http://www.slideshare.net/jnklein/northeast-php-high-performance-php
Saturday, August 17, 13
48. Optimizing PHP
• See last year’s talk
• Use an Opcode Cache
• xhprof
• StatsD/Graphite
• Find hotspots
• Upgrade it
http://www.slideshare.net/jnklein/northeast-php-high-performance-php
Saturday, August 17, 13
73. Memcached
• Roughly same hardware as webs
• More memory (48GB)
• Shard keys across servers
Saturday, August 17, 13
74. Memcached
• Roughly same hardware as webs
• More memory (48GB)
• Shard keys across servers
• mctop - https://github.com/etsy/mctop
Saturday, August 17, 13