4 ms·
The connections are actually handled by the OS in parallel, it's the callbacks to Python that are not. Why do you need a whole OS thread to handle sending a SYN
by orf 10y ago
The connections are actually handled by the OS in parallel, it's the callbacks to Python that are not. Why do you need a whole OS thread to handle sending a SYN/ACK?
As you well know 20000 threads is not a great way to do anything. Especially in Python.
- the_mitsuhiko 10y agoI agree that threads in Python are not great but 20000 threads is otherwise not an issue.
- fzzzy 10y agoAre you serious? Have you ever tried starting 20k threads?