Chapter 3

Finding the Bottleneck

When the test fails, where do you look?

~23 min total3 lessonsAssignment

By the end of this chapter you'll be able to

  • Use Pulse + DB metrics + system stats to localise the problem
  • Distinguish API CPU, DB CPU, network, and test-rig limits

Chapter assignment

Find + fix + prove

Pick the endpoint with the worst p95 from your suite. Use Pulse + DB logs to identify the bottleneck. Fix it (add an index, add caching, fix N+1). Re-run the same scenario. Paste before/after numbers in notes.md with a 1-paragraph writeup.

See success criteria

Lesson 1 takes ~7 min.

Start chapter

Spot a typo? Have an idea?

Help us improve this chapter. One click opens a GitHub issue with this chapter's URL pre-filled — suggest a clearer wording, report a bug, or request a new lesson. The course keeps improving thanks to learners like you.

Suggest an improvement on GitHub