SYSTEM AND PROGRAM FOR BUFFERING WORK REQUESTS
First Claim
1. An article of manufacture comprising a computer-readable storage medium including a program for buffered work requests, wherein the program when executed by a computer causes operations to be performed, the operations comprising:
- determining that a work request is about to be placed into an in-memory structure for a business process, wherein the work request includes a work request ordering identifier that indicates an order in which the work request was received, a structure identifier that provides access to the work request stored in one or more transport structures, and data;
determining whether the in-memory structure is capable of storing the work request and whether one or more work request ordering identifiers are stored in an overflow structure for the business process;
in response to determining that either the in-memory structure is not capable of storing the work request or one or more work request ordering identifiers are stored in the overflow structure for the business process, storing the work request ordering identifier for the work request into the overflow structure for the business process, wherein work requests for at least one other business process that is not in an overflow state and does not have any work request ordering identifiers stored in another overflow structure for that business process are capable of being stored in an in-memory structure for that business process without interruption; and
in response to determining that the in-memory structure is subsequently capable of storing the work request having the work request ordering identifier that was stored in the overflow structure, storing the work request into the in-memory structure for the business process based on the work request ordering identifier stored in the overflow structure by;
determining that a different work request has been removed from the in-memory structure;
generating a recovery stub for the work request ordering identifier for the work request, wherein the recovery stub includes the work request ordering identifier and the structure identifier that provides access to the work request including data stored in the one or more transport structures; and
storing the recovery stub into the in-memory structure.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is a technique for buffering work requests. It is determined that a work request is about to be placed into an in-memory structure. When the in-memory structure is not capable of storing the work request, a work request ordering identifier for the work request is stored into an overflow structure. When the in-memory structure is capable of storing the work request, a recovery stub is generated for the work request ordering identifier, and the recovery stub is stored into the in-memory structure.
36 Citations
14 Claims
-
1. An article of manufacture comprising a computer-readable storage medium including a program for buffered work requests, wherein the program when executed by a computer causes operations to be performed, the operations comprising:
-
determining that a work request is about to be placed into an in-memory structure for a business process, wherein the work request includes a work request ordering identifier that indicates an order in which the work request was received, a structure identifier that provides access to the work request stored in one or more transport structures, and data; determining whether the in-memory structure is capable of storing the work request and whether one or more work request ordering identifiers are stored in an overflow structure for the business process; in response to determining that either the in-memory structure is not capable of storing the work request or one or more work request ordering identifiers are stored in the overflow structure for the business process, storing the work request ordering identifier for the work request into the overflow structure for the business process, wherein work requests for at least one other business process that is not in an overflow state and does not have any work request ordering identifiers stored in another overflow structure for that business process are capable of being stored in an in-memory structure for that business process without interruption; and in response to determining that the in-memory structure is subsequently capable of storing the work request having the work request ordering identifier that was stored in the overflow structure, storing the work request into the in-memory structure for the business process based on the work request ordering identifier stored in the overflow structure by; determining that a different work request has been removed from the in-memory structure; generating a recovery stub for the work request ordering identifier for the work request, wherein the recovery stub includes the work request ordering identifier and the structure identifier that provides access to the work request including data stored in the one or more transport structures; and storing the recovery stub into the in-memory structure. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer system having logic for buffering work requests, wherein the logic is executed by the computer system, the logic comprising:
-
determining that a work request is about to be placed into an in-memory structure for a business process, wherein the work request includes a work request ordering identifier that indicates an order in which the work request was received, a structure identifier that provides access to the work request stored in one or more transport structures, and data; determining whether the in-memory structure is capable of storing the work request and whether one or more work request ordering identifiers are stored in an overflow structure for the business process; in response to determining that either the in-memory structure is not capable of storing the work request or one or more work request ordering identifiers are stored in the overflow structure for the business process, storing the work request ordering identifier for the work request into the overflow structure for the business process, wherein work requests for at least one other business process that is not in an overflow state and does not have any work request ordering identifiers stored in another overflow structure for that business process are capable of being stored in an in-memory structure for that business process without interruption; and in response to determining that the in-memory structure is subsequently capable of storing the work request having the work request ordering identifier that was stored in the overflow structure, storing the work request into the in-memory structure for the business process based on the work request ordering identifier stored in the overflow structure by; determining that a different work request has been removed from the in-memory structure; generating a recovery stub for the work request ordering identifier for the work request, wherein the recovery stub includes the work request ordering identifier and the structure identifier that provides access to the work request including data stored in the one or more transport structures; and storing the recovery stub into the in-memory structure. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification