mixpanel-python-async icon indicating copy to clipboard operation
mixpanel-python-async copied to clipboard

gunicorn workers

Open EralpBay opened this issue 4 years ago • 0 comments

thank you very much for this library, I'm considering the trade-offs between using this library or delegating this to celery events. (and sending the events async through celery workers)

can this library work with gunicorn workers? if yes with which types?

Sync Workers Async Workers Tornado Workers AsyncIO workers

where are the events buffered? process or thread-level?

if our gunicorn worker is restarted because of max requests setting, can we possibly lose events? or does this library block killing of the worker until buffer is cleared.

https://docs.gunicorn.org/en/stable/settings.html#max-requests

what's the possibility of buffer overflow if we seem to get more requests than mixpanel actually responds?

again thank you, I'll dive into the code to see if I can figure some of this stuff out myself 🥇

EralpBay avatar Sep 01 '21 16:09 EralpBay