[Developer Shed Network] Server Side - PHP - PDF Generation With PHP
DrupalCon 2014: Next Generation PHP Performance
25
PHP PERFORMANCE The Next Generation 1
-
Upload
pantheon -
Category
Technology
-
view
430 -
download
1
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 of DrupalCon 2014: Next Generation PHP Performance
![Page 1: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/1.jpg)
PHP PERFORMANCEThe Next Generation
1
![Page 2: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/2.jpg)
WHO ARE WE?
2
![Page 3: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/3.jpg)
3
Let me tell you a story…
![Page 4: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/4.jpg)
THE DARK AGES
4
![Page 5: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/5.jpg)
5
![Page 6: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/6.jpg)
LEGACY BAGGAGE AND CRUFTY TOOLS
6
![Page 7: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/7.jpg)
7
PHP 4.xPEAR / PECL
![Page 8: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/8.jpg)
8
GREAT STRIDES
![Page 9: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/9.jpg)
9
![Page 10: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/10.jpg)
PHP IS THE MOST POPULAR LANGUAGE ON
THE WEB
10
![Page 11: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/11.jpg)
THE NEED FOR SPEED11
Front End Runtime Data / IO
![Page 12: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/12.jpg)
12
CACHE
![Page 13: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/13.jpg)
13
This is as important
![Page 14: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/14.jpg)
SQL IS STILL DA KING
14
Did someone say non-linear performance degradation?
![Page 15: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/15.jpg)
PHP ENGINE PERFORMANCE15
…and muscle…
![Page 16: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/16.jpg)
THIS IS OUR TEST
16
ab -c 5 -n 1000
Panopoly
![Page 17: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/17.jpg)
PHP PERFORMANCELive Demo
17
![Page 18: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/18.jpg)
PHP 5.3 + APC
18
11.38 Req / sec
509 ms
![Page 19: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/19.jpg)
PHP 5.5 & OPCODE
19
14.3 Req / sec
395 ms
![Page 20: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/20.jpg)
HHVM 3.1
20
21.49 Req / sec
283 ms
![Page 21: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/21.jpg)
SPEED
21
![Page 22: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/22.jpg)
SCALE
22
![Page 23: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/23.jpg)
#PHPRenaissance
23
![Page 24: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/24.jpg)
PERFORMANCE IS A FULL STACK CHALLENGE
24
Front End Runtime Data / IO
![Page 25: DrupalCon 2014: Next Generation PHP Performance](https://reader034.fdocuments.us/reader034/viewer/2022051514/54b738924a7959404e8b465c/html5/thumbnails/25.jpg)
Questions? !
#PHPRenaissance
25