~/talk

Configuring uWSGI for Production: The defaults are all wrong

Talkat EuroPython 2019 · 2019-07-08..07-14· [python, devops-and-delivery]
links:none on file
slides:none on file

Recommends a concrete uWSGI baseline: keep master on, enable threads, turn on strict-config-parsing and vacuum; set need-app=true so a syntax-error process fails to start; disable noisy default logging but log 4xx/5xx. Use worker recycling (e.g. max-requests=1000, resident memory limit ~2GB or hourly recycle) and harakiri 60s to kill stuck workers; enable signal delivery and auto-procname for observability. Also uses uWSGI cache, mules, cron/timers and dynamic scaling across many processes (often 96–128) — these settings cut incidents and simplify recovery.

AI-written summary · about

  1. 0:00Introduction
  2. 0:43Why are we here
  3. 4:15Master process
  4. 13:27Worker Recycling
  5. 16:54Hard Timeouts
  6. 21:00Prefix API
  7. 22:40cron and timer
  8. 26:09I am hiring
  9. 26:44Questions
~/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.