SlideShare a Scribd company logo
1© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Ongoing management of
your PHP 7 application
Jan Burkl
Solution consulting manager
2© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Ask the PHP experts: Series
overview
Now: Ongoing management of your PHP 7 application
Oct. 11: PHP industry roundtable
Join our panel of experts in an open discussion on the latest in PHP news,
technologies, programming practices, and case studies.
3© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Presenter
Jan Burkl
Solution Consulting Manager, Central Europe
Rogue Wave Software
jan.burkl@roguewave.com
Twitter: @janatzend
4© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Watch the on-demand webinar
5© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Security
Tuning
DIY
Scaling
6© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Security tips and techniques
7© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Security
https://en.wikipedia.org/wiki/Security
“Security is the degree of resistance to,
or protection from, harm. It applies to
any vulnerable and/or valuable asset
[…]”
8© 2017 Rogue Wave Software, Inc. All Rights Reserved.
9© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Security pillars
10© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Security pillars
Application
Stack
11© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Security pillars 1/2 – PHP application
• Framework
– Community
– Security policy
• Custom code
– Skillset
– QA tools
12© 2017 Rogue Wave Software, Inc. All Rights Reserved.
OWASP
• Open Web Application Security Project
• Not-for-profit
• Make software security visible
• https://www.owasp.org/index.php/Top_10_2017-Top_10
– Rejected...
– A1: Injection
– A2: Broken Authentication and Session Management
– A3: Cross-Site Scripting (XSS)
– All of the above related to development (8 out of 10 in total)
13© 2017 Rogue Wave Software, Inc. All Rights Reserved.
• (Security) Training
• Security audit
• Application audit
14© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Security pillars 2/2 - Stack
• Support for PHP
• Support for OS
– Hardened CentOS at AWS
• Support for database
• Support for container orchestration
– Docker Swarm, Kubernetes
15© 2017 Rogue Wave Software, Inc. All Rights Reserved.
16© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Scale quickly and efficiently
17© 2017 Rogue Wave Software, Inc. All Rights Reserved.
PHP 7 is fast
0
100
200
300
400
500
600
Magento 1.9 Drupal 7 WordPress 4.1 ZF2 Laravel
PHP 5.6 PHP 7
Requests per Second
18© 2017 Rogue Wave Software, Inc. All Rights Reserved.
PHP 7 is
fast
https://engineering.tumblr.com/post/152998126990/php-7-at-tumblr
19© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Two questions
• Is your app scalable?
– Maybe you know
– Architecture audit
• When to scale?
– Monitoring
• Zend Server
20© 2017 Rogue Wave Software, Inc. All Rights Reserved.
21© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Orchestration
Deployment
22© 2017 Rogue Wave Software, Inc. All Rights Reserved.
(More than) Compute power
• Virtual machines?
• Cloud? (AWS, Azure, Google, ...)
• Container? (Docker, Rocket, ...)
23© 2017 Rogue Wave Software, Inc. All Rights Reserved.
24© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Automation
25© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Tuning best practices
26© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Tuning best practices
Performance?
27© 2017 Rogue Wave Software, Inc. All Rights Reserved.
28© 2017 Rogue Wave Software, Inc. All Rights Reserved.
First step - Monitoring
Left shift XDebug Z-Ray XHProf
Infrastructure
monitoring
Nagios Monit Munin
App
monitoring
Code tracing
Zend Server
monitoring
rules
ELK
29© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Find the bottleneck
30© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Be careful with diagrams 1/3
db_exec()
812 ms
ws_call()
336 ms
render()
145 ms
helper()
17 ms
translate()
12 ms
user
()
10
ms
permission()
8 ms
31© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Be careful with diagrams 2/3
db_exec()
36 ms
ws_call()
336 ms
render()
145 ms
helper()
17 ms
translate()
12 ms
user()
10 ms
permission()
8 ms
32© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Be careful with diagrams 3/3
db_exec()
36 ms ws_call()
8 ms
render()
145 ms
helper()
17 ms
translate()
12 ms
user()
10 ms
permission()
8 ms
33© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Optimize wisely
34© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Do not over-architect
35© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Caching
• OpCode Cache
• Data Cache
– Zend Server Data Cache
– Memcache
– Redis
• Page Cache
– Zend Server Page Cache
– Varnish
36© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Job Queue
• Parallel execution
• Run scripts offline
• Run scripts on other systems
• Distribute the load – space and time
37© 2017 Rogue Wave Software, Inc. All Rights Reserved.
38© 2017 Rogue Wave Software, Inc. All Rights Reserved.
“We wanted to be able to
scale up and sell other
services on the same
foundation, not just build
telecom functionality.”
Youri Treur
director e-commerce and support at Simpel
39© 2017 Rogue Wave Software, Inc. All Rights Reserved.
When and why do-it-yourself fails
40© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Dev, DevOps
• Application migration
• Framework migration
• Tests
• Tools
• OS upgrade
• Best practices
Management
• Time-to-market
• Reduce risk
• Minimize costs
41© 2017 Rogue Wave Software, Inc. All Rights Reserved.
“Being a game changer is all
about time to market. This
means having efficient
change management, being
flexible as a company [...].
Finding suppliers that are the
best at what they do helped
us do this.”
Kai Stevens, Enrise
42© 2017 Rogue Wave Software, Inc. All Rights Reserved.
43© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Danke Schön!
jan.burkl@roguewave.com
44© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Watch the on-demand webinar
45© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Q&A
46© 2017 Rogue Wave Software, Inc. All Rights Reserved.
ZendCon 2017
47© 2017 Rogue Wave Software, Inc. All Rights Reserved.
Stay tuned
Oct. 11: PHP industry roundtable
Join our panel of experts in an open discussion on the latest in PHP news,
technologies, programming practices, and case studies.
Register now.
48© 2017 Rogue Wave Software, Inc. All Rights Reserved.

More Related Content

What's hot (19)

PDF
Csa Summit 2017 - Un viaje seguro hacia la nube
CSA Argentina
 
PDF
From rogue one to rebel alliance by Peter Chestna
DevSecCon
 
PDF
Monitoring Application Attack Surface and Integrating Security into DevOps Pi...
Denim Group
 
PPTX
Scaling Rugged DevOps to Thousands of Applications - Panel Discussion
SeniorStoryteller
 
PDF
Practical DevSecOps - Arief Karfianto
idsecconf
 
PDF
Create a Unified View of Your Application Security Program – Black Duck Hub a...
Denim Group
 
PDF
Practical appsec lessons learned in the age of agile and DevOps
Priyanka Aash
 
PDF
Owasp summit 2017
Dinis Cruz
 
PDF
Painless DevSecOps: Building Security Into Your DevOps Pipeline
Tasktop
 
PDF
Dos and Don'ts of DevSecOps
Priyanka Aash
 
PDF
ThreadFix 2.5 Webinar
Denim Group
 
PPTX
DevSecOps
Cheah Eng Soon
 
PPTX
Culture Hacker: How to Herd CATTs and Inspire Rebels to Change the World! - S...
SeniorStoryteller
 
DOCX
10 things to get right for successful dev secops
Mohammed Ahmed
 
PDF
Microsoft DevOps Forum 2021 – DevOps & Security
Nico Meisenzahl
 
PPTX
DevSecOps reference architectures 2018
Sonatype
 
PDF
AppSec Fast and Slow: Your DevSecOps CI/CD Pipeline Isn’t an SSA Program
Denim Group
 
PDF
Automated Server Administration for DevSecOps
Aarno Aukia
 
Csa Summit 2017 - Un viaje seguro hacia la nube
CSA Argentina
 
From rogue one to rebel alliance by Peter Chestna
DevSecCon
 
Monitoring Application Attack Surface and Integrating Security into DevOps Pi...
Denim Group
 
Scaling Rugged DevOps to Thousands of Applications - Panel Discussion
SeniorStoryteller
 
Practical DevSecOps - Arief Karfianto
idsecconf
 
Create a Unified View of Your Application Security Program – Black Duck Hub a...
Denim Group
 
Practical appsec lessons learned in the age of agile and DevOps
Priyanka Aash
 
Owasp summit 2017
Dinis Cruz
 
Painless DevSecOps: Building Security Into Your DevOps Pipeline
Tasktop
 
Dos and Don'ts of DevSecOps
Priyanka Aash
 
ThreadFix 2.5 Webinar
Denim Group
 
DevSecOps
Cheah Eng Soon
 
Culture Hacker: How to Herd CATTs and Inspire Rebels to Change the World! - S...
SeniorStoryteller
 
10 things to get right for successful dev secops
Mohammed Ahmed
 
Microsoft DevOps Forum 2021 – DevOps & Security
Nico Meisenzahl
 
DevSecOps reference architectures 2018
Sonatype
 
AppSec Fast and Slow: Your DevSecOps CI/CD Pipeline Isn’t an SSA Program
Denim Group
 
Automated Server Administration for DevSecOps
Aarno Aukia
 

Similar to Ongoing management of your PHP 7 application (20)

PPTX
Speed and security for your PHP application
Zend by Rogue Wave Software
 
PPTX
Unit testing for project managers
Zend by Rogue Wave Software
 
PPTX
Plan a successful enterprise Linux migration
Rogue Wave Software
 
PPTX
Continuous security: Bringing agility to the secure development lifecycle
Rogue Wave Software
 
PDF
Securing Your Enterprise Continuous Delivery Pipelines with CA Automation Sol...
CA Technologies
 
PPTX
Découvrez le Rugged DevOps
Talent Agile @ Avanade
 
PDF
Modern Application Development for the Enterprise
Juarez Junior
 
PPTX
iThome Cloud Summit 2017 - 實戰 Hybrid Cloud 管理與安全技術
WAN-HSUAN KUNG
 
PDF
Strategies on How to Overcome Security Challenges Unique to Cloud-Native Apps
VMware Tanzu
 
PDF
Scale Continuous Deployment to Production with DeployHub and CloudBees
DevOps.com
 
PDF
Scale Continuous Deployment to Production with DeployHub and CloudBees
Deborah Schalm
 
PPTX
What if you could eliminate the hidden costs of development?
Rogue Wave Software
 
PPTX
How APIs are transforming large enterprises
Rogue Wave Software
 
PDF
Database as code in Devops - DBを10分間で1000個構築するDB仮想化テクノロジーとは?(Adam)
Insight Technology, Inc.
 
PDF
Securing a Great Developer Experience - DevOps Indonesia Meetup by Stefan Str...
DevOps Indonesia
 
PPTX
Are open source and embedded software development on a collision course?
Rogue Wave Software
 
PDF
Automated Software Modernization
Manuel Dolle
 
PPTX
Mobile security part 1(Android Apps Pentesting)- Romansh yadav
Romansh Yadav
 
PDF
【Primer】WebApp release in 3 hours! Programming from scratch Rails course
DIVE INTO CODE Corp.
 
PPTX
Enterprise Linux: Justify your migration from Red Hat to CentOS
Rogue Wave Software
 
Speed and security for your PHP application
Zend by Rogue Wave Software
 
Unit testing for project managers
Zend by Rogue Wave Software
 
Plan a successful enterprise Linux migration
Rogue Wave Software
 
Continuous security: Bringing agility to the secure development lifecycle
Rogue Wave Software
 
Securing Your Enterprise Continuous Delivery Pipelines with CA Automation Sol...
CA Technologies
 
Découvrez le Rugged DevOps
Talent Agile @ Avanade
 
Modern Application Development for the Enterprise
Juarez Junior
 
iThome Cloud Summit 2017 - 實戰 Hybrid Cloud 管理與安全技術
WAN-HSUAN KUNG
 
Strategies on How to Overcome Security Challenges Unique to Cloud-Native Apps
VMware Tanzu
 
Scale Continuous Deployment to Production with DeployHub and CloudBees
DevOps.com
 
Scale Continuous Deployment to Production with DeployHub and CloudBees
Deborah Schalm
 
What if you could eliminate the hidden costs of development?
Rogue Wave Software
 
How APIs are transforming large enterprises
Rogue Wave Software
 
Database as code in Devops - DBを10分間で1000個構築するDB仮想化テクノロジーとは?(Adam)
Insight Technology, Inc.
 
Securing a Great Developer Experience - DevOps Indonesia Meetup by Stefan Str...
DevOps Indonesia
 
Are open source and embedded software development on a collision course?
Rogue Wave Software
 
Automated Software Modernization
Manuel Dolle
 
Mobile security part 1(Android Apps Pentesting)- Romansh yadav
Romansh Yadav
 
【Primer】WebApp release in 3 hours! Programming from scratch Rails course
DIVE INTO CODE Corp.
 
Enterprise Linux: Justify your migration from Red Hat to CentOS
Rogue Wave Software
 
Ad

More from Zend by Rogue Wave Software (20)

PDF
Develop microservices in php
Zend by Rogue Wave Software
 
PPTX
Building and managing applications fast for IBM i
Zend by Rogue Wave Software
 
PDF
Building web APIs in PHP with Zend Expressive
Zend by Rogue Wave Software
 
PPTX
To PHP 7 and beyond
Zend by Rogue Wave Software
 
PDF
Speed up web APIs with Expressive and Swoole (PHP Day 2018)
Zend by Rogue Wave Software
 
PDF
The Sodium crypto library of PHP 7.2 (PHP Day 2018)
Zend by Rogue Wave Software
 
PDF
Develop web APIs in PHP using middleware with Expressive (Code Europe)
Zend by Rogue Wave Software
 
PDF
Middleware web APIs in PHP 7.x
Zend by Rogue Wave Software
 
PDF
Developing web APIs using middleware in PHP 7
Zend by Rogue Wave Software
 
PDF
The Docker development template for PHP
Zend by Rogue Wave Software
 
PDF
The most exciting features of PHP 7.1
Zend by Rogue Wave Software
 
PDF
The new features of PHP 7
Zend by Rogue Wave Software
 
PPTX
Deploying PHP apps on the cloud
Zend by Rogue Wave Software
 
PPTX
Data is dead. Long live data!
Zend by Rogue Wave Software
 
PPTX
Optimizing performance
Zend by Rogue Wave Software
 
PPTX
Resolving problems & high availability
Zend by Rogue Wave Software
 
PPTX
Developing apps faster
Zend by Rogue Wave Software
 
PPTX
Keeping up with PHP
Zend by Rogue Wave Software
 
PPTX
Fundamentals of performance tuning PHP on IBM i
Zend by Rogue Wave Software
 
PPTX
Getting started with PHP on IBM i
Zend by Rogue Wave Software
 
Develop microservices in php
Zend by Rogue Wave Software
 
Building and managing applications fast for IBM i
Zend by Rogue Wave Software
 
Building web APIs in PHP with Zend Expressive
Zend by Rogue Wave Software
 
To PHP 7 and beyond
Zend by Rogue Wave Software
 
Speed up web APIs with Expressive and Swoole (PHP Day 2018)
Zend by Rogue Wave Software
 
The Sodium crypto library of PHP 7.2 (PHP Day 2018)
Zend by Rogue Wave Software
 
Develop web APIs in PHP using middleware with Expressive (Code Europe)
Zend by Rogue Wave Software
 
Middleware web APIs in PHP 7.x
Zend by Rogue Wave Software
 
Developing web APIs using middleware in PHP 7
Zend by Rogue Wave Software
 
The Docker development template for PHP
Zend by Rogue Wave Software
 
The most exciting features of PHP 7.1
Zend by Rogue Wave Software
 
The new features of PHP 7
Zend by Rogue Wave Software
 
Deploying PHP apps on the cloud
Zend by Rogue Wave Software
 
Data is dead. Long live data!
Zend by Rogue Wave Software
 
Optimizing performance
Zend by Rogue Wave Software
 
Resolving problems & high availability
Zend by Rogue Wave Software
 
Developing apps faster
Zend by Rogue Wave Software
 
Keeping up with PHP
Zend by Rogue Wave Software
 
Fundamentals of performance tuning PHP on IBM i
Zend by Rogue Wave Software
 
Getting started with PHP on IBM i
Zend by Rogue Wave Software
 
Ad

Recently uploaded (20)

PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PPTX
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PDF
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
Tally software_Introduction_Presentation
AditiBansal54083
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 

Ongoing management of your PHP 7 application

  • 1. 1© 2017 Rogue Wave Software, Inc. All Rights Reserved. Ongoing management of your PHP 7 application Jan Burkl Solution consulting manager
  • 2. 2© 2017 Rogue Wave Software, Inc. All Rights Reserved. Ask the PHP experts: Series overview Now: Ongoing management of your PHP 7 application Oct. 11: PHP industry roundtable Join our panel of experts in an open discussion on the latest in PHP news, technologies, programming practices, and case studies.
  • 3. 3© 2017 Rogue Wave Software, Inc. All Rights Reserved. Presenter Jan Burkl Solution Consulting Manager, Central Europe Rogue Wave Software [email protected] Twitter: @janatzend
  • 4. 4© 2017 Rogue Wave Software, Inc. All Rights Reserved. Watch the on-demand webinar
  • 5. 5© 2017 Rogue Wave Software, Inc. All Rights Reserved. Security Tuning DIY Scaling
  • 6. 6© 2017 Rogue Wave Software, Inc. All Rights Reserved. Security tips and techniques
  • 7. 7© 2017 Rogue Wave Software, Inc. All Rights Reserved. Security https://en.wikipedia.org/wiki/Security “Security is the degree of resistance to, or protection from, harm. It applies to any vulnerable and/or valuable asset […]”
  • 8. 8© 2017 Rogue Wave Software, Inc. All Rights Reserved.
  • 9. 9© 2017 Rogue Wave Software, Inc. All Rights Reserved. Security pillars
  • 10. 10© 2017 Rogue Wave Software, Inc. All Rights Reserved. Security pillars Application Stack
  • 11. 11© 2017 Rogue Wave Software, Inc. All Rights Reserved. Security pillars 1/2 – PHP application • Framework – Community – Security policy • Custom code – Skillset – QA tools
  • 12. 12© 2017 Rogue Wave Software, Inc. All Rights Reserved. OWASP • Open Web Application Security Project • Not-for-profit • Make software security visible • https://www.owasp.org/index.php/Top_10_2017-Top_10 – Rejected... – A1: Injection – A2: Broken Authentication and Session Management – A3: Cross-Site Scripting (XSS) – All of the above related to development (8 out of 10 in total)
  • 13. 13© 2017 Rogue Wave Software, Inc. All Rights Reserved. • (Security) Training • Security audit • Application audit
  • 14. 14© 2017 Rogue Wave Software, Inc. All Rights Reserved. Security pillars 2/2 - Stack • Support for PHP • Support for OS – Hardened CentOS at AWS • Support for database • Support for container orchestration – Docker Swarm, Kubernetes
  • 15. 15© 2017 Rogue Wave Software, Inc. All Rights Reserved.
  • 16. 16© 2017 Rogue Wave Software, Inc. All Rights Reserved. Scale quickly and efficiently
  • 17. 17© 2017 Rogue Wave Software, Inc. All Rights Reserved. PHP 7 is fast 0 100 200 300 400 500 600 Magento 1.9 Drupal 7 WordPress 4.1 ZF2 Laravel PHP 5.6 PHP 7 Requests per Second
  • 18. 18© 2017 Rogue Wave Software, Inc. All Rights Reserved. PHP 7 is fast https://engineering.tumblr.com/post/152998126990/php-7-at-tumblr
  • 19. 19© 2017 Rogue Wave Software, Inc. All Rights Reserved. Two questions • Is your app scalable? – Maybe you know – Architecture audit • When to scale? – Monitoring • Zend Server
  • 20. 20© 2017 Rogue Wave Software, Inc. All Rights Reserved.
  • 21. 21© 2017 Rogue Wave Software, Inc. All Rights Reserved. Orchestration Deployment
  • 22. 22© 2017 Rogue Wave Software, Inc. All Rights Reserved. (More than) Compute power • Virtual machines? • Cloud? (AWS, Azure, Google, ...) • Container? (Docker, Rocket, ...)
  • 23. 23© 2017 Rogue Wave Software, Inc. All Rights Reserved.
  • 24. 24© 2017 Rogue Wave Software, Inc. All Rights Reserved. Automation
  • 25. 25© 2017 Rogue Wave Software, Inc. All Rights Reserved. Tuning best practices
  • 26. 26© 2017 Rogue Wave Software, Inc. All Rights Reserved. Tuning best practices Performance?
  • 27. 27© 2017 Rogue Wave Software, Inc. All Rights Reserved.
  • 28. 28© 2017 Rogue Wave Software, Inc. All Rights Reserved. First step - Monitoring Left shift XDebug Z-Ray XHProf Infrastructure monitoring Nagios Monit Munin App monitoring Code tracing Zend Server monitoring rules ELK
  • 29. 29© 2017 Rogue Wave Software, Inc. All Rights Reserved. Find the bottleneck
  • 30. 30© 2017 Rogue Wave Software, Inc. All Rights Reserved. Be careful with diagrams 1/3 db_exec() 812 ms ws_call() 336 ms render() 145 ms helper() 17 ms translate() 12 ms user () 10 ms permission() 8 ms
  • 31. 31© 2017 Rogue Wave Software, Inc. All Rights Reserved. Be careful with diagrams 2/3 db_exec() 36 ms ws_call() 336 ms render() 145 ms helper() 17 ms translate() 12 ms user() 10 ms permission() 8 ms
  • 32. 32© 2017 Rogue Wave Software, Inc. All Rights Reserved. Be careful with diagrams 3/3 db_exec() 36 ms ws_call() 8 ms render() 145 ms helper() 17 ms translate() 12 ms user() 10 ms permission() 8 ms
  • 33. 33© 2017 Rogue Wave Software, Inc. All Rights Reserved. Optimize wisely
  • 34. 34© 2017 Rogue Wave Software, Inc. All Rights Reserved. Do not over-architect
  • 35. 35© 2017 Rogue Wave Software, Inc. All Rights Reserved. Caching • OpCode Cache • Data Cache – Zend Server Data Cache – Memcache – Redis • Page Cache – Zend Server Page Cache – Varnish
  • 36. 36© 2017 Rogue Wave Software, Inc. All Rights Reserved. Job Queue • Parallel execution • Run scripts offline • Run scripts on other systems • Distribute the load – space and time
  • 37. 37© 2017 Rogue Wave Software, Inc. All Rights Reserved.
  • 38. 38© 2017 Rogue Wave Software, Inc. All Rights Reserved. “We wanted to be able to scale up and sell other services on the same foundation, not just build telecom functionality.” Youri Treur director e-commerce and support at Simpel
  • 39. 39© 2017 Rogue Wave Software, Inc. All Rights Reserved. When and why do-it-yourself fails
  • 40. 40© 2017 Rogue Wave Software, Inc. All Rights Reserved. Dev, DevOps • Application migration • Framework migration • Tests • Tools • OS upgrade • Best practices Management • Time-to-market • Reduce risk • Minimize costs
  • 41. 41© 2017 Rogue Wave Software, Inc. All Rights Reserved. “Being a game changer is all about time to market. This means having efficient change management, being flexible as a company [...]. Finding suppliers that are the best at what they do helped us do this.” Kai Stevens, Enrise
  • 42. 42© 2017 Rogue Wave Software, Inc. All Rights Reserved.
  • 43. 43© 2017 Rogue Wave Software, Inc. All Rights Reserved. Danke Schön! [email protected]
  • 44. 44© 2017 Rogue Wave Software, Inc. All Rights Reserved. Watch the on-demand webinar
  • 45. 45© 2017 Rogue Wave Software, Inc. All Rights Reserved. Q&A
  • 46. 46© 2017 Rogue Wave Software, Inc. All Rights Reserved. ZendCon 2017
  • 47. 47© 2017 Rogue Wave Software, Inc. All Rights Reserved. Stay tuned Oct. 11: PHP industry roundtable Join our panel of experts in an open discussion on the latest in PHP news, technologies, programming practices, and case studies. Register now.
  • 48. 48© 2017 Rogue Wave Software, Inc. All Rights Reserved.