|
|
|
|
|
by bschwindHN
3337 days ago
|
|
I think the idea is that these "coroutine objects" (or the equivalent structure in whatever language) is smaller than the typical stack size for a thread. For example, the default stack size on Windows is 1 MB. So if you have a thread per connection, obviously this is going to take up a decent amount of memory. I'm guessing the answer to this is a thread pool so your memory usage doesn't blow up. https://msdn.microsoft.com/en-us/library/windows/desktop/ms6... |
|