3 ms·
"usually deployed" where? Every Python app I've seen in Prod don't use multi process to bypass the limitation of GIL/#cores.
by Thaxll 10y ago
"usually deployed" where? Every Python app I've seen in Prod don't use multi process to bypass the limitation of GIL/#cores.
- riquito 10y agosupervisord
- malux85 10y agoAre you kidding? I run 80 servers with custom written daemons and it's always multi-process. I just finished said infra at one of the worlds largest online betting sites, their legacy was multi-process and the new systems are multi-process. This is really common
- _qqea 10y agoThey don't use the multiprocess module but most of them are deployed with something like uWSGI or Gunicorn, which spawns the worker processes and forwards requests to them and the responses back.
- nhumrich 10y agoGIL only applies to multi-threaded, not multi-process. Multi-process is a great way to overcome the GIL
- mirekrusin 10y agoAt a cost of memory.