What is monitored Focus Example tool What is my sites availability and average

What is monitored focus example tool what is my sites

This preview shows page 464 - 466 out of 517 pages.

types of monitoring and some tools to perform them, many delivered as SaaS. What is monitored Focus Example tool What is my site’s availability and average response time, as seen by users around the world? business-level Pingdom , SiteScope What pages (views) in my app are most popular and what paths do customers follow through the app? business-level Google Analytics What controller actions or database queries are slowest? app-level New Relic , Scout What unexpected exceptions or errors did customers experience and what were they doing at the moment the error occurred? app-level Exceptional , AirBrake What is the health and resource usage of the OS-level processes that support my app (Apache web server, MySQL DB server, and so on)? infrastructure/process- level god , monit Figure 12.5: Different types of monitoring and example tools that provide them for Rails SaaS apps. All except the last row (process- level health monitoring) are delivered as SaaS and offer a free service tier that provides basic monitoring. Once a monitoring tool has identified the slowest or most expensive requests, stress testing or longevity testing on a staging server can quantify the level of demand at which those requests become bottlenecks. The free and widely-used command line tool httperf , maintained by Hewlett-Packard Laboratories , can simulate a specified number of users requesting simple sequences of URIs from an
Image of page 464
app and recording metrics about the response times. Whereas tools like Cucumber let you write expressive scenarios and check arbitrarily complex conditions, httperf can only follow simple sequences of URIs and only checks whether a successful HTTP response was received from the server. In a typical stress test, the test engineer will set up several computers running httperf against the staging site and gradually increase the number of simulated users until some resource becomes the bottleneck. Summary As with testing, no single type of monitoring will alert you of all problems: use a combination of internal and external (end-to-end) monitoring. Hosted monitoring such as Pingdom and PaaS-integrated monitoring such as New Relic greatly simplify monitoring compared to the early days of SaaS. Stress testing and longevity testing can reveal the bottlenecks in your SaaS app and frequently expose bugs that would otherwise remain hidden. Self-Check 12.6.1. Which of the following key performance indicators (KPIs) would be relevant for Application Performance Monitoring: CPU utilization of a particular computer; completion time of slow database queries; view rendering time of 5 slowest views. Query completion times and view rendering times are relevant because they have a direct impact on responsiveness, which is generally a Key Performance Indicator tied to business value delivered to the customer. CPU utilization, while useful to know, does not directly tell us about the customer experience.
Image of page 465
Image of page 466

You've reached the end of your free preview.

Want to read all 517 pages?

  • Spring '19
  • Dr.Marcos

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors