php application performance

36
PHP Meetup Atlanta, GA April 2015 Harald Zeitlhofer PHP Applica;on Performance [email protected] @HZeitlhofer

Upload: harald-zeitlhofer

Post on 16-Jul-2015

143 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: PHP Application Performance

1 #Dynatrace

PHP#Meetup#Atlanta,#GA#April#2015#

Harald#Zeitlhofer#

PHP#Applica;on#Performance#

[email protected]#@HZeitlhofer#

Page 2: PHP Application Performance

2 #Dynatrace

• Technology#Strategist#at#Dynatrace#• Database#and#Web#Development#

• PHP#for#more#than#15#years#

• Love#to#discover#new#things#

Harald#Zeitlhofer#

Page 3: PHP Application Performance

3 #Dynatrace

I’m#from#Austria#

?

Page 4: PHP Application Performance

4 #Dynatrace

Page 5: PHP Application Performance

5 #Dynatrace

But#you#already##know#that...#

Page 6: PHP Application Performance

6 #Dynatrace

Also#from#Austria#

Page 7: PHP Application Performance

7 #Dynatrace

You#might#have#heard#of...#

Page 8: PHP Application Performance

8 #Dynatrace

Applica;on#Performance#

Page 9: PHP Application Performance

9 #Dynatrace

PHP#Applica;on#Performance#

Page 10: PHP Application Performance

10 #Dynatrace

PHP#OpCache#

Page 11: PHP Application Performance

11 #Dynatrace

PHP#OpCache#disabled#

Page 12: PHP Application Performance

12 #Dynatrace

PHP#OpCache#enabled#

Page 13: PHP Application Performance

13 #Dynatrace

Page 14: PHP Application Performance

14 #Dynatrace

Nginx#–#PHP#transac;on#flow#

Page 15: PHP Application Performance

15 #Dynatrace

Nginx#FastCGI#cache#

Page 16: PHP Application Performance

16 #Dynatrace

Nginx#FastCGI#cache#

Page 17: PHP Application Performance

17 #Dynatrace

Page 18: PHP Application Performance

18 #Dynatrace

Page 19: PHP Application Performance

19 #Dynatrace

Page 20: PHP Application Performance

20 #Dynatrace

lessc#library#caused#performance#hotspot#

Page 21: PHP Application Performance

21 #Dynatrace

Page 22: PHP Application Performance

22 #Dynatrace

Spelix#

Page 23: PHP Application Performance

23 #Dynatrace

/katgrp/browse#

Page 24: PHP Application Performance

24 #Dynatrace

/cave/browse/gis/$/katgrp/1626#

Page 25: PHP Application Performance

25 #Dynatrace

/katgrp/get/$/1626#

Page 26: PHP Application Performance

26 #Dynatrace

Back#to#/cave/browse/gis/$/katgrp/1626#

Page 27: PHP Application Performance

27 #Dynatrace

Sessions#in#PHP#

•  session_start()#locks#the#file#where#session#data#are#stored#•  Released#when#script#ends#• Use#session_write_close()#to#unlock#the#file#before#execu;ng#slower#code#• Or#create#your#own##save#handler#with##session_set_save_handler()#

Page 28: PHP Application Performance

28 #Dynatrace

Looks#be`er#now…#

Page 29: PHP Application Performance

29 #Dynatrace

But#…#

Page 30: PHP Application Performance

30 #Dynatrace

/katgrp/browse#server#side#execu;on#

;me#to#check#the#database#!#

Page 31: PHP Application Performance

31 #Dynatrace

From#the#DB#perspec;ve#

Page 32: PHP Application Performance

32 #Dynatrace

Here#we#go:#

what#about##3rd#party#content?#

Page 33: PHP Application Performance

33 #Dynatrace

3rd#party#content#

Page 34: PHP Application Performance

34 #Dynatrace

3rd#party#content#

Page 35: PHP Application Performance

35 #Dynatrace

Performance#Tools#

Page 36: PHP Application Performance

36 #Dynatrace

www.dynatrace.com#

Thank#you#!!!#

Harald&Zeitlhofer&Senior#Technology#Strategist#

#HZeitlhofer#[email protected]#

h`p://blog.dyntrace.com#