~/talk

What The GIL Means For Containers

Talkat PyConline AU 2020 · 2020-09-04..09-06· [python, devops-and-delivery]
slides:none on file

Argument: the GIL rarely blocks container deployments if infrastructure uses single process with thread-based workers and tuned replicas versus threads. Concrete issues: Python 3.7 offers gc.freeze to reduce fork bloat, the stdlib json C extension may not release the GIL, Prometheus client uses a background thread and breaks with multi-process workers, and Unicorn ignores subprocess OOM kills. Practical tooling and wins include using twisted web for threaded servers and Celery’s thread worker 4.4; the uploader’s library of Prometheus/log tweaks exists and runs.

AI-written summary · about

  1. 0:00Start
  2. 6:06Complications
  3. 8:38Prometheus Globals
  4. 14:06What The GIL Means For Containers?
~/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.