I don’t make web application frameworks, I make client applications and rest apis, and to me I don’t feel the need of having more threads than cpu threads or more threads than 1k, because I would definitely queue things in, if you make too many http or i/o requests they can fail each other or just slow each other out, so there is no real benefit there to me at least.
That's the hole point of virtual thread. You don't have to queue anything. You have an I/O bound operation to make ? Just spawn a thread.
3
u/plumarr Aug 03 '22
That's the hole point of virtual thread. You don't have to queue anything. You have an I/O bound operation to make ? Just spawn a thread.