drupalcon 2014: next generation php performance
DESCRIPTION
Tired of reading semi-trustworthy benchmarks about the new hotness? Want the straight dope on what to think about to make your site screaming fast? This is the session for you. From the original creator of Pressflow and the packager of the Mercury performance AMI (and two co-founders of Pantheon) — a look at the next generation of PHP performance, and what it means for Drupal. PHP is undergoing a renaissance: the core development community is moving ahead, and with large entities like Facebook making significant contributions, the often-mocked language that powers most of the web is looking better than ever. Recently there have been a number of major innovations, but there seem to be more questions than answers; What's with PHP 5.5 and its new integrated opcode cache? How fast is Hip Hop Virtual Machine (HHVM) really? How can we take advantage of parallelized processing? SSDs? How much do they help? We'll break it down: solid numbers, real world use-cases, and what you can do to build the fastest application possible.TRANSCRIPT
PHP PERFORMANCEThe Next Generation
1
WHO ARE WE?
2
3
Let me tell you a story…
THE DARK AGES
4
5
LEGACY BAGGAGE AND CRUFTY TOOLS
6
7
PHP 4.xPEAR / PECL
8
GREAT STRIDES
9
PHP IS THE MOST POPULAR LANGUAGE ON
THE WEB
10
THE NEED FOR SPEED11
Front End Runtime Data / IO
12
CACHE
13
This is as important
SQL IS STILL DA KING
14
Did someone say non-linear performance degradation?
PHP ENGINE PERFORMANCE15
…and muscle…
THIS IS OUR TEST
16
ab -c 5 -n 1000
Panopoly
PHP PERFORMANCELive Demo
17
PHP 5.3 + APC
18
11.38 Req / sec
509 ms
PHP 5.5 & OPCODE
19
14.3 Req / sec
395 ms
HHVM 3.1
20
21.49 Req / sec
283 ms
SPEED
21
SCALE
22
#PHPRenaissance
23
PERFORMANCE IS A FULL STACK CHALLENGE
24
Front End Runtime Data / IO
Questions? !
#PHPRenaissance
25