Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Docker High Performance

You're reading from   Docker High Performance Complete your Docker journey by optimizing your application's work?ows and performance

Arrow left icon
Product type Paperback
Published in Apr 2019
Publisher
ISBN-13 9781789807219
Length 174 pages
Edition 2nd Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Russ McKendrick Russ McKendrick
Author Profile Icon Russ McKendrick
Russ McKendrick
Allan Espinosa Allan Espinosa
Author Profile Icon Allan Espinosa
Allan Espinosa
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

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 our users' demographic?
  • How do they interact with our application?

Starting with the preceding questions, we can then translate them into actual requests that we can use to test our application.

In the sample application that we wrote, 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. Throughput refers to the number of users that can receive Hello World at a time. Response time describes the time lag before the user receives the Hello World message from the moment they requested it.

In this section, we will create a preliminary...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime