|
|
|
|
|
by 708145_
386 days ago
|
|
Of course it possible to limit the number of virtual threads. A web server can have a limit on number of virtual threads too, and queue incoming request before dispatching to to workers (virtual threads). As other have said, this can be achieved with a semaphore and the bulkhead pattern. You can also limit the number of number of connections. I would expect any "production ready" web server using virtual threads having some sort of limiting. That must be the case right? |
|