Skip to content
Ameen Abozaid
Planned lessonSRC-016-L07

Demo: halving checkout p99 with evidence

  • Lesson 7 of 8
  • Senior C
On This Lesson 3 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

reduce checkout p99 by profiling and fixing in order; prepares SRC-016-LAB1.

Draft outline details

Step by step

  1. Set the target and run a baseline load test at a constant rate; record percentiles.
  2. Profile under load; read the flame graph and query statistics.
  3. Fix the largest item (an N+1 query), re-run; record the new p99.
  4. Planned mistake: tune a serializer that is 4% of time first. Fix: return to the ranked list and attack the largest remaining item.
  5. Repeat until the target is met, then stop.
  6. Write the before and after report with variance and caveats.

Check your understanding

What guides the order of fixes?

Show answer

Measured share of time in each step.

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.