PROCESSING A BATCHED UNIT OF WORK
First Claim
1. A method for processing a batched unit of work associated with a plurality of messages, for use with a data store, comprising:
- associating a backout count, using a processor, with a number of instances that the batched unit of work is backed out;
associating, using the processor, a backout threshold with the backout count;
associating, using the processor, a commit count with the batched unit of work in response to successful commits for a predefined number of the plurality of messages;
checking, using the processor, whether the backout count is greater than zero and less than the backout threshold; and
in response to the backout count being greater than zero and less than the backout threshold, overriding the commit count, using the processor, and committing the batched unit of work for a subset of the plurality of messages.
0 Assignments
0 Petitions
Accused Products
Abstract
A batched unit of work is associated with a plurality of messages for use with a data store. A backout count, associated with a number of instances that work in association with the batched unit of work, is backed out. A backout threshold is associated with the backout count. A commit count is associated with committing the batched unit of work in response to successful commits for a predefined number of the plurality of messages. A checker checks whether the backout count is greater than zero and less than the backout threshold. An override component, responsive to the backout count being greater than zero and less than the backout threshold, overrides the commit count and commits the batched unit of work for a subset of the plurality of messages.
6 Citations
3 Claims
-
1. A method for processing a batched unit of work associated with a plurality of messages, for use with a data store, comprising:
-
associating a backout count, using a processor, with a number of instances that the batched unit of work is backed out; associating, using the processor, a backout threshold with the backout count; associating, using the processor, a commit count with the batched unit of work in response to successful commits for a predefined number of the plurality of messages; checking, using the processor, whether the backout count is greater than zero and less than the backout threshold; and in response to the backout count being greater than zero and less than the backout threshold, overriding the commit count, using the processor, and committing the batched unit of work for a subset of the plurality of messages. - View Dependent Claims (2, 3)
-
Specification