另一些测试则显示了系统吞吐量的提升,因为我们更好的排列了系统的处理流程(thread better)。退一步,对于那些无法接受吞吐损失的系统,抢占式内核只是一个可选。
基于16个网页-相关网页
Using asynchronous message passing and pipelining, it promises to offer more control than thread pools and better performance than manual threading.
借助于异步消息传递与管道,它可以提供比线程池更好的控制,也比手工线程方式具备更好的性能。
Since every request is handled in a separate thread, better scalability is possible.
由于将以单独的线程处理每个请求,所以可以获得更好的可扩展性。
NewScheduledThreadPool creates a pool that works like the Timer object but is better at handling uncaught exceptions and thread starvation.
newScheduledThreadPool可以创建像Timer对象一样工作的线程池,但是能够更好地处理未捕获的异常和线程饥饿。
应用推荐