5、reactor + thread per request(过渡方案) 6、reactor + worker thread(过渡方案) 7、reactor + thread pool(能适应密集计算) 8、multiple reactors(能适应更大的突发...
基于4个网页-相关网页
This breaks the one thread per request model, as the thread for a request never gets freed up.
这打破了每个请求使用一个线程的模型,因为用于一个请求的线程一直没有被释放。
This is what is very different from the "one thread per request" which has been prevalent until now.
这与现在大行其道的“一个请求一个线程”有着很大的差别。
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.
另一种方法是为每个请求绑定一个线程,因此当请求被处理后,线程将返回线程池。
应用推荐