阅读背景:

Java theory and practice: Thread pools and work queues--reference

来源:互联网 

Why thread pools?

Many server applications, such as Web servers, database servers, file servers, or mail servers, are oriented around processing a large number of short tasks that arrive from some remote source. A request arrives at the server in some manner, which might be through a network protocol (such as HTTP, FTP, or POP), through a JMS queue, or perhaps by polling a database. Regardless of how the request arrives, it is often the case in server applications that the processing of each individual task is short-lived and the number of requests is large.Many server applications, s




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: