~/talk

You Have Written A Web Application, Now What?

Talkat Python Web Conf 2021 · 2021-03-22..03-26· [devops-and-delivery]
slides:none on file

Shows a concrete Flask+MySQL demo in Docker (Gunicorn/uWSGI processes, requests and mysql-connector libraries) that emits JSON structured logs with a propagated x-request-id header, uses python-json-logger for correlated logging, pushes metrics via statsd/statsd-exporter into Prometheus and demonstrates traces through OpenTelemetry collector into Jaeger. Code examples show middleware that starts/stops timers, increments counters, creates spans for service-to and DB calls, an ApacheBench load run, and working visualizations of request traces and latencies.

AI-written summary · about

  1. 0:00Start
  2. 15:28Key things to log
  3. 17:36Generic strategies
  4. 21:02Monitoring HTTP/RPC Server applications
  5. 21:25Monitoring Worker applications
  6. 23:03Things to keep in mind
  7. 24:33Basic idea
  8. 25:08Tracking latency across services
  9. 26:26Instrumenting your code
  10. 27:45Storage/Querying
  11. 29:10Before Open Telemetry
  12. 29:56After Open Telemetry
  13. 31:35Flask app instrumentation for metrics
  14. 33:16Exporting WSGI runtime metrics
  15. 33:44Metrics Demo
  16. 40:19Distributed tracing demo
  17. 41:09Takeaways
  18. 42:17Setting up automatic horizontal scaling
  19. 43:10Simulate failure scenarios (Chaos Engineering)
  20. 44:09Other important things
  21. 44:31Summary
  22. 45:34Questions/Comments
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.