This breaks the one thread per request model, as the thread for a request never gets freed up.
这打破了每个请求使用一个线程的模型,因为用于一个请求的线程一直没有被释放。
The request/response cycle lends itself to the classic one thread per connection model.
请求/响应周期使它成为了经典的模型,即每个连接使用一个线程。
An alternative is to tie up the thread per request so that it can be returned to the thread pool once the request processing is done.
另一种方法是为每个请求绑定一个线程,因此当请求被处理后,线程将返回线程池。
应用推荐