This is a toy WSGI app under Gunicorn and uWSGI, used to explore forking behaviours interacting with Open Telemetry (and BatchSpanProcessor
in particular).
gunicorn wsgi:app --workers 3
Optionally plus --preload
, so that gunicorn will import Python into the main process before forking the workers.