4 ms·
Python and nodejs applications are usually deployed in a multiprocess configuration (and Go apps without GOMAXPROCS). So in production, applications in all of
by 1st1 10y ago
Python and nodejs applications are usually deployed in a multiprocess configuration (and Go apps without GOMAXPROCS). So in production, applications in all of those languages use all CPU cores.
For benchmarks, we didn't want to complicate things with multi-process setup, the idea was to compare the raw performance of all drivers.
- 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.
- deleted 10y ago[deleted]