Client/subscriber rotation using select write calls for server resiliency
First Claim
1. A computer implemented method for managing client connections to a server among a plurality of clients, the computer implemented method comprising:
- determining, by one or more processors, that a rate of select write calls of a first client exceeds a predetermined threshold,andin response, a first server transmitting a migrate message to the first client, the migrate message including a uniform resource identifier that describes a second server; and
responsive to transmitting the migrate message, the first server barring the first client from accessing resources of the first server for an exclusion period, and responsive to the expiration of the exclusion period, the first server reconnecting to the first client.
3 Assignments
0 Petitions
Accused Products
Abstract
A computer implemented method, system, and computer program product for managing client connections to a server among a plurality of clients. A messaging server detects, by a first server, an attribute of a client connection that exceeds a threshold, wherein the attribute is a select write operation. The messaging server selects a client that connects to a server, responsive to detecting the attribute of the client exceeding the threshold of select write calls. The messaging server selects a connect mechanism of a second server, responsive to selecting the client. The messaging server transmits a migrate message to the client, the migrate message comprising at least a uniform resource identifier (URI).
25 Citations
18 Claims
-
1. A computer implemented method for managing client connections to a server among a plurality of clients, the computer implemented method comprising:
-
determining, by one or more processors, that a rate of select write calls of a first client exceeds a predetermined threshold, and in response, a first server transmitting a migrate message to the first client, the migrate message including a uniform resource identifier that describes a second server; and responsive to transmitting the migrate message, the first server barring the first client from accessing resources of the first server for an exclusion period, and responsive to the expiration of the exclusion period, the first server reconnecting to the first client. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer program product for managing client connections to a server among a plurality of clients, the computer program product comprising:
-
a computer readable storage device having computer usable program code stored on the computer readable storage device, the computer usable program code comprising; first program instructions to determine that a rate of select write calls of a first client at a first server exceeds a predetermined threshold and in response, transmit a migrate message to the first client, the migrate message including a uniform resource identifier that describes a second server; second program instructions, responsive to transmitting the migrate message, to bar the first client from accessing resources of the first server for an exclusion period, and responsive to the expiration of the exclusion period, reconnecting the first client to the first server; and wherein the first and second program instructions are stored on the computer readable storage device. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer system for managing client connections to a server among a plurality of clients, the system comprising:
-
a processor, a computer readable memory and a computer readable storage device; first program instructions to determine that a rate of select write calls of a first client at a first server exceeds a predetermined threshold and in response, transmit a migrate message to the first client, the migrate message including a uniform resource identifier that describes a second server; second program instructions, responsive to transmitting the migrate message, to bar the first client from accessing resources of the first server for an exclusion period and responsive to the expiration of the exclusion, reconnecting the first client to the first server; and wherein the first and second program instructions are stored on the computer readable storage device for execution by the processor via the computer readable memory. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification