Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Sleep better by automating monitoring for your app

Sleep better by automating monitoring for your app

This talk will show strategies for monitoring your server and application. Get notified when your server or application encounters problems. Also, the talk will cover some ways to centralize, parse, and analyze your logs when your application is running in multiple servers.

Zumba Technology

August 31, 2013
Tweet

More Decks by Zumba Technology

Other Decks in Technology

Transcript

  1. SLEEP BETTER BY AUTOMATING MONITORING FOR YOUR APP Juan Basso

    - @jrbasso System Architect - Zumba Fitness
  2. I AM NOT... Being paid by any company Associated of

    any company Getting any kind of benefit Professional Talker :D
  3. TYPES OF MONITORING Server Application (Your CakePHP App!) Client Side

    (JavaScript, Timing, Content, Privileges) System Monitoring (CPU, Memory, Network) Logs (What is Going On) Metrics (Listen to the Numbers)
  4. SERVER APPLICATION What is happening with your CakePHP app? Is

    your app running? Is your cron apps running as planned? Why are my requests slow in production? Works fine on my local!
  5. NEW RELIC Site: PHP Extension + SaaS Focused on the

    Application Good PHP Integration Show Slow Queries Show Slow Transactions Request Trace Detail CakePHP Friendly SLA Reports http://www.newrelic.com
  6. APPDYNAMICS Site: SaaS Focused on Network Show Slow Queries Show

    Slow Transactions Request Trace Detail NOT CakePHP Friendly http://www.appdynamics.com/
  7. ZEND SERVER Site: Web Server with Monitoring Store Full Request

    Detail Request Trace Detail All-in-one http://www.zend.com/en/products/server/
  8. CLIENT SIDE Can the users hit my pages? How many

    users are using my site? What is the page load time? Is it usable? Is the user having issues with his browser? Some users complain about some page, but works on my local!
  9. REAL TIME VISITORS Google Analytics ( ) Pingdom ( )

    Gauges ( ) https://www.google.com/analytics https://www.pingdom.com http://get.gaug.es
  10. SYSTEM MONITORING My app is down! Why?!?! I didn't change

    the code! I can connect to the service, but why the app doesn't work? What part of the system is not working? Is my server over or under capacity? Do I need to scale up/down my servers? Should I? Can I?
  11. SCOUT Site: SaaS Lots of Charts Based on Plugins Ruby

    Friendly Alerts by E-mail, SMS, PagerDuty, Web Hooks https://scoutapp.com/
  12. SERVER DENSITY Site: SaaS Cloud, Server and Site Monitoring Responsive

    Interface Alerts by E-mail, SMS, Push Notifications, Web Hooks Can Re-Scale Instances (from docs) http://www.serverdensity.com/
  13. NAGIOS Site: The Classic! The Legend! You Have to Manage

    Tons of Checkers Hard To Setup Ugly Interface http://www.nagios.org
  14. LOGS What is wrong with my server? Is my code/server

    crashing? How to find an error in a pile of logs?
  15. SPLUNK / SPLUNKSTORM Site: Standalone and SaaS Combine All Logs

    Real-Time Create Filters and Analyzers http://splunkstorm.com/
  16. LOGSTASH + KIBANA 3 Site: and You Have to Host

    It Very Easy to Customize (Custom Dashboards) Create Filters and Analyzers Logstash Can Be Distributed Free / Open Source http://logstash.net/ http://three.kibana.org/
  17. METRICS How is your audience? Increased a lot? Decreased a

    lot? How is your revenue? Can users from all locations access your site? Are you selling? Are you shipping user orders?
  18. SOME METRICS TYPES Analyzing Logs Quantity Analyzing Access Analyzing User

    Region (country, state) Analyzing Languages Analyzing Network Analyzing RPM (Requests Per Minute)