~/talk

Beat the rush! Designing effective load tests for your web application

Talkat PyCon AU 2023 · 2023-08-18..08-22· [web-performance]
slides:none on file

Load tests focus on specifics: use Locust HTTP users or a playwright user to drive realistic browser or HTTP traffic, seed test data with Nemesis not two records, and introduce randomness in IDs and think in terms of concurrency not just total requests. Watch the 95th percentile and ramp users up; a climb at ~190 concurrent users often reveals a bottleneck. An obituary-site test holds up under peak load when designed this way.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30Welcome
  3. 0:52Follow along
  4. 1:09Load testing and tea
  5. 2:18Load testing analogy
  6. 3:45Designing load tests
  7. 6:33Understanding your users
  8. 6:54Paths
  9. 7:47Timing
  10. 10:30Locust
  11. 11:12Locus script
  12. 13:02Playwright
  13. 14:28Django
  14. 15:39Common pitfalls
  15. 17:02Nemesis
  16. 18:08Test Question
  17. 19:05Cache
  18. 19:25Cache Stack
  19. 21:57Design your load test
  20. 23:24How to interpret the results
  21. 25:25Ramping up users
  22. 28:38Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.