Does Twisted, Cyclone Or Tornado Do Smp Multicore Out Of The Box
I'd like to use any one of the 3 mentioned non-blocking servers on an AWS Linux server with 8 cores. It's not clear in any of the documentation whether SMP is implemented under the
Solution 1:
Tornado's HTTPServer supports a multi-process mode, using the bind(port)
and start(num_procs)
methods.
http://www.tornadoweb.org/en/stable/tcpserver.html#tornado.tcpserver.TCPServer.start
Solution 2:
The CPython process uses a Global Interpreter Lock, and thus cannot take real advantage of multiple threads available in hardware if only a single Python process is running.
Post a Comment for "Does Twisted, Cyclone Or Tornado Do Smp Multicore Out Of The Box"