发明名称 Method and system for controlling distribution of work items to threads in a server
摘要 A system and method are presented to control distribution of work items to threads in a server. The system and method include a permit dispenser that keeps track of permits, and a plurality of thread pools each including a queue with a configurable size, being configured with a desired concurrency and a size of the queue that is equal to a total number of work items to be executed by pool threads in the thread pool. The number of permits specifies a total number of threads available for executing the work items in the server. Each pool thread executes a work item in the thread pool, determines whether a thread surplus or a thread deficit exists, and shrinks or grows the thread pool respectively.
申请公布号 US8239872(B2) 申请公布日期 2012.08.07
申请号 US20080314481 申请日期 2008.12.11
申请人 TATU SERBAN;HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. 发明人 TATU SERBAN
分类号 G06F9/00 主分类号 G06F9/00
代理机构 代理人
主权项
地址