Skip to content
Ameen Abozaid
Planned lessonMID-046-L05

From test result to bottleneck

  • Lesson 5 of 6
  • Mid-level
On This Lesson 4 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

find the first bottleneck with evidence.

Planned topics

  • Look at latency against load: where does the curve bend?
  • Correlate with metrics: CPU, GC pauses, connection pool wait, DB query time, thread pool queues.
  • Use profiles (flame graphs) and traces on the slow path.
  • Change one thing at a time and retest.
  • Name the first bottleneck; the next one only appears after you fix it.
Draft outline details

Demonstration

timeline: p95 rises at 400 req/s; the DB connection pool wait metric rises at the same time.

Check your understanding

Why change one thing at a time?

Show answer

Otherwise you cannot tell which change helped.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Continue to next lesson

Type to search levels, phases, modules and lessons.