Monitoring Managing PHP Applications - ZendCon format.pptx ...

1,182 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,182
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Monitoring Managing PHP Applications - ZendCon format.pptx ...

  1. 1. MONITORING & MANAGING PHP APPLICATIONS Introduction to Applications Management By Nir Ilani
  2. 2. About Myself… • Live and work at Tel-Aviv, Israel • Married, no children (yet) • Product Manager of Zend Platform • 10+ years experience of software development and product management of large-scale Enterprise Software, Internet Applications, Java EE & Open- source software • Previously worked at Mercury (acquired by HP), Gaya / Comverse Technology & Exent • Blog - http://blogs.zend.com/author/nir/
  3. 3. About You… • Develop / operate / manage Web applications • Familiar with PHP 4/5 • Want to understand what Application Management is all about • Want to learn how you can apply it in your PHP- based environments
  4. 4. What’s on this session • No code (at all…) • Overview of Application Performance Management • Website Monitoring techniques • Zend Platform monitoring demo
  5. 5. Agenda • Introduction • The Systems Management Universe • Performance Management defined • APM - Application Performance Management • Website Monitoring • Inside vs. Outside Website Monitoring • Application Downtime and Business Loss Impact • Website Monitoring Types • Monitoring PHP Applications • Zend Platform Monitor & PHP Intelligence
  6. 6. Introduction – cont. Application Performance Management WHAT? !@#$? HOW? Why Monitor Web Applications at all?
  7. 7. #7
  8. 8. Introduction - cont. • We want our application to perform well • We want to increase customers satisfaction • We want our application to excel • we want our organization to grow and succeed • It’s about money The performance and consistency of your Website will determine whether visitors purchase your products and services, or click away to the competition
  9. 9. Introduction – cont. • Businesses used to heavily invest in their hardware, networks, etc. • Businesses did not examine how they look from the end-user perspective • Businesses did not measure the overall experience they provide to their clients • This has significantly hurt business performance…
  10. 10. The Systems Management Universe • Addresses the need for administrating distributed computer systems • Strongly influenced from the telecommunications sector • Popular commercial products include: § IBM Tivoli Framework § IBM Director § Microsoft Systems Management Server § HP OpenView § LANDesk § Novell ZENworks § BMC Patrol § CA Unicenter
  11. 11. The Systems Management Hierarchy
  12. 12. The Systems Management Universe – cont. • Systems Management functions are described by the ITU-T X.700 standard or ITIL • They’re often referred to as FCAPS: § Fault management • Troubleshooting, error logging and data recovery § Configuration management • Hardware and software inventory • Provisioning, software deployment and package management § Accounting management • Billing and statistics gathering § Performance management • Software metering and event monitoring § Security management • Identity management • Policy management
  13. 13. Performance Management • A process in which progress is being assessed towards achieving predetermined goals • A specific type of Performance Management is Application Performance Management (APM) • APM is a process in which there is focus on monitoring and managing the performance and availability of software applications
  14. 14. Application Performance Management
  15. 15. Application Performance Management – cont. • APM goal is: Detect, diagnose, remedy and report on application performance issues to ensure that application performance meets or exceeds end-users’ and businesses’ expectations • A variation on APM is Web APM which focuses on managing Web applications. • Web APM address the needs of Dynamic Web applications including monitoring application performance experienced by end-users, business groups and Web services, and relating potential performance issues to points within or without the data center for speedy problem diagnostics and resolution • A significant portion of Web APM is Website Monitoring
  16. 16. Website Monitoring • Why? § Avoid downtime § Keep Web applications running § Improve response time • Website Monitoring is the process of testing or tracking (monitoring) how end-users interact with a website or web application
  17. 17. Inside vs. Outside Monitoring • Inside vs. Outside the corporate firewall • Inside Monitoring is a traditional Network Management solutions focus on inside the firewall monitoring • Outside Monitoring will test and monitor performance issues across the Internet backbone and in some cases all the way to the end-user § It is also known as end-user monitoring
  18. 18. Application Downtime & Business Loss Impact If it's up… A.K.A It's down... per year 90% 876 hours 95% 438 hours 99% “two 9's” 87:36 hours 99.9% “three 9's” 8:45:36 hours 99.99% “four 9's” 0:52:33.6 minutes 99.999% “five 9's” 0:5:15.36 minutes 99.9999% “six 9's” 0:0:31.68 seconds The larger down time per year, the higher chances of business loss and lower users satisfaction…
  19. 19. Website Monitoring Types • Synthetic monitoring § Performed using a Web browser emulation (typically using behavioral scripts) § Also known as active monitoring • Passive monitoring § Used to capture traffic from a network by generating a copy of that traffic • The two monitoring types are considered complementary
  20. 20. Monitoring PHP Applications • PHP applications: § Are typically dynamic § Intensively access database / storage § Often involve other modern Web technologies • AJAX, JSON, Web Services, etc. § Usually contain lots of content (in larger deployments) • QEDWiki, MediaWiki, SugarCRM, Facebook, WordPress, digg • Given that, it is crucial to monitor and have insight about a PHP applications behavior and performance
  21. 21. Zend Platform • PHP Application Server • Provides: Performance, Scalability, Inter-operability with other technologies and: • Website Monitoring
  22. 22. PHP Production Environment Stack
  23. 23. System Architecture
  24. 24. Zend Platform Monitor • Combines both Synthetic and Passive monitoring • Tailor-made for PHP applications • Run-time profiling and performance monitoring • Reports and tracks run-time issues • Enables recreation of issues with original context • Also provides online debugging • A.K.A. PHP Intelligence Immediate Problem Resolution Improved TTM Better ROI
  25. 25. PHP Intelligence Event Types • PHP Error l Custom Event • Function Error l HTTP Error • Slow Function Execution l Java Exception • Database Error l Apache Processes • Slow Query Execution Exceeded • Inconsistent Output Size l Slow Content Download • Load Average l More… • Slow Script Execution (Absolute / Relative) • Excess Memory Usage (Absolute / Relative)
  26. 26. Integration With Zend Studio • Provides direct access to the affected source code • Immediate debugging & profiling enables code problems to be identified and fixed within seconds
  27. 27. Integration with External Monitoring Tools Virtually any using: • Send as XML to URL • Send email • Trigger SNMP Trap • More…
  28. 28. What’s next? • Additional event types • Database monitoring • Extended integration to other monitoring tools • More to come… J § Meet me at the booth to hear suggestions / ideas
  29. 29. Q&A • Thanks for listening! • Questions? Suggestion? Ideas? Thoughts? Write me to: nir.i@zend.com

×