发明名称 Request processing system, method and program product
摘要 A processing method has been claimed for reducing the average wait time of requests in a queue in a system environment where garbage collection may occur. In the method, a computer system treats as a unit each request in a queue and a completion time of garbage collection that may occur at the time of processing the request, and processes requests preferentially and systematically in ascending order of the processing times of the units including the garbage collection times, thereby, reducing the average wait time of the requests. While, the computer system managing the queue knows the remaining amount of heap just before processing a certain request, the computer system statistically calculates in advance the amounts of heap to be consumed on a request type basis and holds the values.
申请公布号 US9471374(B2) 申请公布日期 2016.10.18
申请号 US201213406667 申请日期 2012.02.28
申请人 International Business Machines Corporation 发明人 Ogasawara Takeshi
分类号 G06F7/00;G06F17/30;G06F9/48;G06F12/02 主分类号 G06F7/00
代理机构 CRGO Law 代理人 Greenberg, Esq. Steven M.;CRGO Law
主权项 1. A request processing method for processing requests in a system that has a queue for storing the requests to be processed and is configured to execute garbage collection when a heap remaining amount is insufficient to process a request dequeued from the queue, the request processing method comprising the steps of: acquiring an estimated heap consumption for each of requests that are to be processed and that exit in the queue; determining that a request at the top of the queue has a larger estimated heap consumption than the heap remaining amount, finding, among the requests in the queue, a request whose estimated heap consumption is expected to be smaller than the heap remaining amount; and moving the found request in the queue to a position ahead of the request positioned at the top of the queue.
地址 Armonk NY US