I’ve created a repo on GitHub called csdesign – https://github.com/rspivak/csdesign – where I put several simple examples of concurrent TCP servers in Python.
Currently it contains two of those:
- TCP Concurrent Server, One Child per Client (fork)
- TCP Concurrent Server, I/O Multiplexing (select)
It’s an ongoing effort and if it’s something that you’re interested in just follow the project on GitHub or its progress on Twitter.
Here is the Roadmap:
- TCP Concurrent Server, One Thread per Client
- TCP Concurrent Server, I/O Multiplexing (poll)
- TCP Concurrent Server, I/O Multiplexing (epoll)
- TCP Preforked Server
- TCP Prethreaded Server
If you enjoyed this post why not subscribe via email or my RSS feed and get the latest updates immediately.
You can also follow me on GitHub or Twitter.


