2 ms·
Running one gevent hub per core seems viable. Does it support forking? Also I don't think that gevent does preemptive switching. I can already do multi server
by devxpy 8y ago
Running one gevent hub per core seems viable. Does it support forking? Also I don't think that gevent does preemptive switching.
I can already do multi server just fine, but not everything is in the server domain. Also I don't seek multi-core usage for performance, specifically. Versatility is what I'm going for here.
An Erlang like system can be both performant and scalable to thousands of clients.
The current scope of python really only allows for either one. You can go either multiprocessing, which will give great processing power, but you can only launch so many of them. You can go asyncio route and launch millions of coroutines, but they suffer from performance issues.