"Creating a thread has significant overhead. So, for servers that must deal with thousands of clients, this approach is not practical."
-
-
-
Replying to @charliesome
Everyone, please stop spreading this idea without actually backing it up with any data at all. It's just plain wrong.
3 replies 3 retweets 4 likes -
Replying to @charliesome
@charliesome spawning tons of threads for idle clients is still a waste of resources, but I agree with your point2 replies 0 retweets 0 likes
Replying to @judofyr
@judofyr @charliesome use a thread-per-RPC keeping idle connections in a selector (my server design circa 2001): https://github.com/tarcieri/hotwired …
2:48 PM - 28 Jun 2014
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.