Managing orphaned requests in a multi-server environment
AssigneeInternational Business Machines Corporation
InventorsR. Scott COYLE, Steven SHULTZ, Hongjie YANG
Life of this patent
Estimating the term…
Abstract
A request server automatically detects, in response to initialization of the request server, if there are previous generations of requests outstanding for the request server, and if so, immunizes itself against those requests. The request server starts one or more threads that are designed to gather messages associated with requests from previous incarnations of the server and handles those messages without affecting the requestors. While the request server is immunized from earlier generations of requests, the request server is capable of processing new requests.
Claims20
A computer program product for managing orphaned requests in a multi-server processing environment, the computer program product comprising:
- a storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:
- automatically determining, by a request server executing on a processor of the multi-server processing environment, in response to recovery of the request server in which the request server is to process a new generation of one or more requests, whether there are one or more previous generations of requests of the request server that are outstanding;
- and
- immunizing, in response to the automatically determining indicating there are one or more previous generations of requests, the request server from the one or more generations of requests, wherein the immunizing comprises:
- selecting, by the request server, one or more messages associated with one or more requests from the one or more previous generations of requests;
- and
- processing the one or more messages, the processing including deleting one or more messages or saving one or more messages;
- wherein concurrent to the immunizing one or more requests of the new generation of one or more requests are capable of being processed by the request server.
A computer system for managing orphaned requests in a multi-server processing environment, the computer system comprising:
- a memory;
- and
- a processor in communications with the memory, wherein the computer system is capable of performing a method comprising:
- automatically determining, by a request server executing on a processor of the multi-server processing environment, in response to recovery of the request server in which the request server is to process a new generation of one or more requests, whether there are one or more previous generations of requests of the request server that are outstanding;
- and
- immunizing, in response to the automatically determining indicating there are one or more previous generations of requests, the request server from the one or more generations of requests, wherein the immunizing comprises:
- selecting, by the request server, one or more messages associated with one or more requests from the one or more previous generations of requests;
- and
- processing the one or more messages, the processing including deleting one or more messages or saving one or more messages;
- wherein concurrent to the immunizing one or more requests of the new generation of one or more requests are capable of being processed by the request server.
A computer-implemented method of managing orphaned requests in a multi-server processing environment, said method comprising:
- automatically determining, by a request server executing on a processor of the multi-server processing environment, in response to recovery of the request server in which the request server is to process a new generation of one or more requests, whether there are one or more previous generations of requests of the request server that are outstanding;
- and
- immunizing, in response to the automatically determining indicating there are one or more previous generations of requests, the request server from the one or more generations of requests, wherein the immunizing comprises:
- selecting, by the request server, one or more messages associated with one or more requests from the one or more previous generations of requests;
- and
- processing the one or more messages, the processing including deleting the one or more messages or saving the one or more messages;
- wherein concurrent to the immunizing one or more requests of the new generation of one or more requests are capable of being processed by the request server.
Dependencies are inferred from the claim text.