3 ms·
> If you're using an event-loop in each process (which you probably want if only to minimize context-switching overhead, and is how Unicorn does it) Unicorn is
by rubiquity 13y ago
> If you're using an event-loop in each process (which you probably want if only to minimize context-switching overhead, and is how Unicorn does it)
Unicorn is a pre-forking multiprocess server so I don't know why it would be using an event loop.
Why threads over processes? Because memory isn't cheap when you don't own it yourself.