News for hackers. Stuff that matters.
Re:Networking I/O with Virtual Threads – Under the hood by MichaelMoser123 on Thursday July 08, 2021 @12:13PM (#27773973)
if you get to a very high number of cooperative threads, then each such thread will have a very small stack (otherwise the OOM killer will get you). i am not sure that you can impose such limitations on the stack size in java.
Re:Networking I/O with Virtual Threads – Under the hood by fulafel on Tuesday July 13, 2021 @09:25AM (#27820633)
If you are short on memory, sure. 100k times 10 mb for example is just 1 TB, an order of magnitude or two less than what bigger x86 servers take.