3 ms·
Each connection has a state attached to it - be it a TCP socket state in the kernel or an application-level state like that maintained by a web server. Create s
by eps 16y ago
Each connection has a state attached to it - be it a TCP socket state in the kernel or an application-level state like that maintained by a web server. Create sufficient amount of connections and you will exhaust server's memory. A thread per connection is merely a way to trigger the very same problem faster.
- deleted 16y ago[deleted]
- Dylan16807 16y agoSure, a bit of state, but if you have a server designed to maximize connections you can handle orders of magnitude more than something like apache. Then you reach a point where being able to handle traffic below the absolute network-crushing level isn't very hard to do.