Publisher flow control and bounded guaranteed delivery for message queues
AssigneeOracle International Corporation
InventorsKapil Surlaker, Neerja Bhatt, Shailendra Mishra
Life of this patent
Estimating the term…
Abstract
Techniques for managing messages in computer systems are provided. In one embodiment, in response to a publisher attempting to enqueue a message in a queue, a determination is made whether a condition is satisfied. The condition is based on the current usage of the queue by the publisher. Based on whether the condition is satisfied, a decision is made whether to enqueue the message in the queue. The decision whether to enqueue the message may comprise restricting the publisher from enqueueing any more messages in the queue until the same or a different condition is satisfied.
Claims56
A method for managing messages in computer systems, the method comprising:
- in response to a publisher attempting to enqueue a message in a queue, determining whether a condition is satisfied,
- wherein the condition is based on the current usage of the queue by the publisher;
- and
- based on whether the condition is satisfied, deciding whether to enqueue the message in the queue.
A method for managing messages in computer systems, the method comprising:
- if one or more conditions are satisfied, then spilling over a first one or more messages from a queue in volatile memory to a permanent store, wherein the first one or more messages were enqueued in the queue by a publisher;
- and
- in response to spilling over the one or more messages, updating a parameter associated with the publisher, wherein the parameter indicates a particular message enqueued by the publisher in the queue.
Dependencies are inferred from the claim text.