~/talk

Empowering AWS DevOps with Python and Machine Learning

Talkat Conf42 Python 2024 · on Thursday, 2024-02-29· [devops-and-delivery, machine-learning]
links:none on file
slides:none on file

Uses Python data tools and a simple ML regression to map RPM to CPU (40k RPM → ~30% CPU) and to discover a latency cutoff at ~50% CPU where response times explode. Builds a pandas, Jupyter, Locust, boto3 workflow plus a scaling simulator and traffic shape generator to sweep autoscaling parameters. Simulation selects upper threshold 15% and scale-up increment 2; applied to production it yields average CPU ≈16%, peak ≈39% and stable P99 latency (~40 ms), so the change works.

AI-written summary · about

  1. 0:00intro
  2. 0:20preamble
  3. 0:37intro
  4. 1:09agenda
  5. 1:53scaling is hard
  6. 3:24problem
  7. 7:04context
  8. 9:31approach
  9. 10:34load test one host
  10. 11:05retrieve data from aws to pandas
  11. 12:59analyse one host performance
  12. 13:14we can do better
  13. 14:28another thing - latency
  14. 17:03approaches
  15. 18:45create a scaling simulator
  16. 20:12create a traffic shape generator
  17. 20:52and run a first local experiment
  18. 22:40what does it mean?
  19. 22:59first attempt
  20. 24:13find the best parameters
  21. 25:08and the winner is
  22. 26:29which actually looks better
  23. 26:53testing new parameters in production
  24. 28:42simulation versus real life
  25. 31:19conclusion
  26. 31:41code
  27. 33:22about gustavo
~/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.