BEHAVIOR BASED CLIENT SELECTION FOR DISPARATE TREATMENT
First Claim
1. A method for server connection optimization in a persistently connected publish/subscribe environment, the method comprising:
- a computer assigning an initial activity category for a client;
the computer logging, into a log file, one or more select operations of a connection between the client and a first server;
the computer calculating a ratio of a number of the one or more 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 setting 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; and
the computer transferring the client from the first server to a second server, in response to setting the second activity category.
2 Assignments
0 Petitions
Accused Products
Abstract
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.
-
Citations
23 Claims
-
1. A method for server connection optimization in a persistently connected publish/subscribe environment, the method comprising:
-
a computer assigning an initial activity category for a client; the computer logging, into a log file, one or more select operations of a connection between the client and a first server; the computer calculating a ratio of a number of the one or more 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 setting 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; and the computer transferring the client from the first server to a second server, in response to setting the second activity category. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer program product for server connection optimization in a persistently connected publish/subscribe environment, the computer program product comprising:
-
one or more computer-readable, tangible storage devices; program instructions, stored on at least one of the one or more storage devices, to assign an initial activity category for a client; program instructions, stored on at least one of the one or more storage devices, to log, into a log file, one or more select operations of a connection between the client and a first server; program instructions, stored on at least one of the one or more storage devices, to calculate a ratio of a number of the one or more 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; program instructions, stored on at least one of the one or more storage devices, to set 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 category; and program instructions, stored on at least one of the one or more storage devices, to transfer the client from the first server to a second server, in response to setting the second activity category. - View Dependent Claims (10, 11, 12, 13)
-
-
14. A data processing system for server connection optimization in a persistently connected publish/subscribe environment, the data processing system comprising:
-
one or more processors, one or more computer-readable memories and one or more computer-readable, tangible storage devices; program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to assign an initial activity category for a client; program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to log, into a log file, one or more select operations of a connection between the client and a first server; program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to calculate a ratio of a number of the one or more 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; program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to set 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 category; and program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to transfer the client from the first server to a second server, in response to setting the second activity category. - View Dependent Claims (15, 16, 17, 18, 19)
-
-
20. A method for batching ping replies, the method comprising:
-
a computer transmitting a scheduled ping to each of a plurality of clients; the computer queuing a client message with at least one other client message; the computer processing a plurality of queued client messages to categorize a subset of the plurality of clients as responding clients; the computer determining that a timeout period is expired; and the computer, responsive determining that the timeout period is expired, disconnecting at least one client that has not responded to the scheduled ping during the timeout period. - View Dependent Claims (21, 22)
-
-
23. A method for batching ping replies, the method comprising:
-
a computer transmitting a scheduled ping specifying a return address dedicated to ping replies to each of a plurality of clients; the computer receiving a plurality of ping responses to the return address; the computer, responsive to receiving the plurality of ping responses to the return address, updating a data structure of one or more candidate clients for disconnect; the computer determining that a timeout period is expired; and the computer, responsive to determining that the timeout period is expired, disconnecting one or more clients present in the data structure of the one or more candidate clients for disconnect.
-
Specification