Closed dvirsky closed 12 years ago
cool. you can tune how many processes it spawns, by default it detects the number of CPUs and spawns as much processes (sharing the same socket). you can change that number manually in the line tornado.process.fork_processes(None)
. just change None to a number.
hey Eric. I've written a tornado python websocker server, which may be faster (it spawns several processes to utilize all CPUs, and it's non blocking). I haven't tested it on AWS but it does work with the test client, I'm curious to see how it performs. to be able to run it just
sudo easy_intsall tornado