O'Reilly logo

Docker High Performance by Allan Espinosa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building a benchmark workload

Writing benchmarks for an application is an open-ended area to explore. Apache JMeter can be overwhelming at first. It has several options to tune in order to write our benchmarks. To begin, we can use the "story" of our application as a start. The following are some of the questions we can ask ourselves:

  • What does our application do?
  • What is the persona of our users?
  • How do they interact with our application?

Starting with these questions, we can then translate them into actual requests to our application.

In the sample application that we wrote in the earlier section, we have a web application that displays Hello World to our users. In web applications, we are typically interested with the throughput and response time. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required