发明名称 Behavior based client selection for disparate treatment
摘要 Embodiments for server connection optimization in a persistently connected publish/subscribe environment are provided. A computer assigns an initial activity category for a client. The computer logs, into a log file, one or more select operations of a connection between a client and a first server. The computer calculates a ratio of a number of the select operations to a check time of the first server, wherein the check time is a period of time that has elapsed since a previous review of logged data. The computer sets a second activity category for the client based on a look-up of the ratio in a schedule of ratio ranges in a control file, wherein the second activity category is not the initial activity category. The computer transfers the client from the first server to a second server, in response to setting the second activity category.
申请公布号 US8799454(B2) 申请公布日期 2014.08.05
申请号 US201012968429 申请日期 2010.12.15
申请人 International Business Machines Corporation 发明人 O'Connell Brian Marshall;Walker Keith Raymond
分类号 G06F15/173;G06F15/16 主分类号 G06F15/173
代理机构 代理人 Samodovitz Arthur;Rolnik Robert C.
主权项 1. A computer program product for managing connections between clients and servers, the computer program product comprising: one or more computer-readable storage devices and program instructions stored on the one or more storage devices, the program instructions comprising: program instructions to assign a first client to a high activity category with a first server based on a rate of select and other operations requested by the first client from the first server; program instructions to log subsequent select and other operations in one or more connections between the first client and the first server; program instructions to calculate a ratio of the subsequent select and other operations requested from the first server per time period; program instructions to determine that greater than 50% of clients are currently assigned to a second, low activity category of select and other operations requested from the first server based in part on the ratio, and in response, reassign the first client to the low activity category of select and other operations requested from the first server, and in response, transfer the first client to a second server to handle subsequent select and other operations requested by the first client; program instructions to queue one or more requests for select and other operations from the first client during an interval; program instructions to process the one or more requests for select and other operations from the first client responsive to an interval expiring; program instructions, responsive to reassigning the first client to the low activity category, to queue one or more requests for select and other operations from a second client during a different, shorter interval; and program instructions to process the one or more requests for select and other operations by the second client responsive to the shorter interval expiring.
地址 Armonk NY US