4 ms·
This article is just a summary of Paul Tyma's 2008 presentation (posted to HN yesterday): http://www.mailinator.com/tymaPaulMultithreaded.pdf http://www.mailina
by metachris 16y ago
This article is just a summary of Paul Tyma's 2008 presentation (posted to HN yesterday): http://www.mailinator.com/tymaPaulMultithreaded.pdf http://www.mailinator.com/tymaPaulMultithreaded.pdf
I am working on a multiplayer framework using Python, where one gameserver can potentially handle up to 50,000 concurrent socket connections (each interacting with a couple of other ones): http://www.flockengine.com http://www.flockengine.com
epoll() is definitely the way to go - it's very fast with high numbers of sockets.
- http://docs.python.org/library/select.html#edge-and-level-trigger-polling-epoll-objects http://docs.python.org/library/select.html#edge-and-level-tr...
- http://linux.die.net/man/4/epoll http://linux.die.net/man/4/epoll