Welcome!

@DevOpsSummit Authors: Pat Romanski, Jason Bloomberg, Liz McMillan, Yeshim Deniz, Zakia Bouachraoui

Related Topics: @DevOpsSummit, Microservices Expo, @CloudExpo

@DevOpsSummit: Blog Post

Key Performance Metrics By @GrabnerAndi | @DevOpsSummit [#APM #DevOps]

Capture and analyze the metrics from the different application tiers and components in your application

Key Performance Metrics for Load Tests Beyond Response Time | Part I

Whether it is JMeter, SoapUI, Load Runner, SilkTest, Neotys or one of the cloud-based load testing solutions such as Keynote, Dynatrace (formerly Gomez) or others, breaking an application under heavy load is easy these days. Finding the problem based on automatically generated load testing reports is not. Can you tell me what is wrong based on the following reports?

Load Testing Reports alone are showing you that there is a problem - but not necessarily where you should look next

My Key Metrics from Web Server to Database
I've helped engineering organizations over the last 10 - 15 years to either run or analyze load tests. In this blog post I share my best practices and metrics I typically look when analyzing load testing results. I am not relying on the out-of-the box load testing reports, but instead I extend them based on the tools and capabilities, or put in an APM tool such as Dynatrace to capture this type of data while the load testing tool drives the load.

Some of the technical product screenshots in this blog are taken from data users of our Dynatrace Free Trial who shared data through my Share Your PurePath program. Thanks to all of them.

Now - if a load testing task is coming up for you I hope you find most of my described steps useful as I believe it will make analyzing your results easier. Feel free to use Dynatrace (or any other APM tool if you already have such a tool) in order to capture and analyze the following metrics from the different application tiers and components in your application:

From web server to database there are key performance metrics to look at instead of spending too much time in the load testing report

Now - let me go into the details of these metrics, where to capture them from, and what they tell us. In this blog I focus on the Web Server, Application Server, Hosts and the Application Layers. The next blog will focus on the Database as well as Errors and Logging.

1. Top Web Server Metrics
On the Web Server (Apache, IIS, Nginx, ...) the following key metrics have proven extremely valuable to identify problems in your deployment:

  • Busy and Idle Threads
    • Do you need more worker threads per web server?
    • Do you need more web servers?
    • Are threads busy for too long because of application performance hotspots?
  • Throughput
    • How many transactions / minute can we handle?
    • When do we need to scale out and add more web servers?
  • Bandwidth Requirements
    • Is the network the bottleneck?
    • Are our average pages too heavy?
    • Can we offload content to CDNs?

For example below we have a Web Server Process Health Dashboard- showing all of the metrics that are key for me. They get captured through a module placed in the Web Server:

Key metrics from your web server: worker threads, throughput and bandwidth

2. Top App Server Metrics
On the application server (Java, .NET, PHP) I focus on the following key metrics to identify any deployment or configuration problems on your application servers:

  • Load Distribution
    • How many transactions are handled by each JVM/CLR/PHP engine?
    • Are they equally load balanced?
    • Do we need more application servers to handle the load?
  • CPU Hotspots
    • How much CPU is needed for this tested load?
    • Is high CPU caused by bad programming and can be fixed?
    • Or do we need more CPU power?
  • Worker Threads
    • Is the number of worker threads correctly configured?
    • Are worker threads busy because the application servers are not ready?
    • Are there any web server modules that block these threads?
  • Memory Issues
    • Do we see bad memory patterns? Do we have a memory leak?
    • What's the impact of garbage collection on CPU and transaction throughput?

The following screenshot shows my Process Health Dashboard. All data is automatically captured via an agent and injected in your Java, .NET, PHP or node.js engine:

Key metrics from your app server: worker threads, CPU, memory and throughput

For insight on hosts and the application layers click here for the full article

More Stories By Andreas Grabner

Andreas Grabner has been helping companies improve their application performance for 15+ years. He is a regular contributor within Web Performance and DevOps communities and a prolific speaker at user groups and conferences around the world. Reach him at @grabnerandi

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@DevOpsSummit Stories
DevOps is often described as a combination of technology and culture. Without both, DevOps isn't complete. However, applying the culture to outdated technology is a recipe for disaster; as response times grow and connections between teams are delayed by technology, the culture will die. A Nutanix Enterprise Cloud has many benefits that provide the needed base for a true DevOps paradigm. In their Day 3 Keynote at 20th Cloud Expo, Chris Brown, a Solutions Marketing Manager at Nutanix, and Mark Lavi, a Nutanix DevOps Solution Architect, explored the ways that Nutanix technologies empower teams to react faster than ever before and connect teams in ways that were either too complex or simply impossible with traditional infrastructures.
In his keynote at 18th Cloud Expo, Andrew Keys, Co-Founder of ConsenSys Enterprise, provided an overview of the evolution of the Internet and the Database and the future of their combination – the Blockchain. Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereum.
"At the keynote this morning we spoke about the value proposition of Nutanix, of having a DevOps culture and a mindset, and the business outcomes of achieving agility and scale, which everybody here is trying to accomplish," noted Mark Lavi, DevOps Solution Architect at Nutanix, in this SYS-CON.tv interview at @DevOpsSummit at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
@CloudEXPO and @ExpoDX, two of the most influential technology events in the world, have hosted hundreds of sponsors and exhibitors since our launch 10 years ago. @CloudEXPO and @ExpoDX New York and Silicon Valley provide a full year of face-to-face marketing opportunities for your company. Each sponsorship and exhibit package comes with pre and post-show marketing programs. By sponsoring and exhibiting in New York and Silicon Valley, you reach a full complement of decision makers and buyers in multiple vertical markets. Our delegate profiles can be located in our show prospectus.
In today's always-on world, customer expectations have changed. Competitive differentiation is delivered through rapid software innovations, the ability to respond to issues quickly and by releasing high-quality code with minimal interruptions. DevOps isn't some far off goal; it's methodologies and practices are a response to this demand. The demand to go faster. The demand for more uptime. The demand to innovate. In this keynote, we will cover the Nutanix Developer Stack. Built from the foundation of software-defined infrastructure, Nutanix has rapidly expanded into full application lifecycle management across any infrastructure or cloud .Join us as we delve into how the Nutanix Developer Stack makes it easy to build hybrid cloud applications by weaving DBaaS, micro segmentation, event driven lifecycle operations, and both financial and cloud governance together into a single unified st...