HTTP based bounding storage space protocol
AssigneeOracle America, Inc.
InventorsKiran K. Bhumana, Jerry Alan Waldorf, II
Life of this patent
Estimating the term…
Abstract
In a response based messaging system in which the reliability of the message transmission is supplemented by storing at both the source and destination a copy of the message, storage space is bounded. By including in the response to a message acknowledgement from the destination that the message has been received, the copy of the message stored at the source can be deleted. Furthermore, by including in the message an identifier of what message acknowledgement the source is expecting, the destination can delete from its storage medium any previously stored messages.
Claims16
A computer system for bounding storage space in response based messaging, the computer system comprising:
- a message source wherein the message source includes a source persistent memory;
- a message destination wherein the destination includes a destination persistent memory;
- a machine capable of executing instructions embodied as software;
- and a plurality of software portions, wherein
- one of said software portions is configured to store, at the source persistent memory, a message;
- one of said software portions is configured to send the message from the source to the destination wherein the message includes a first identifier and a second identifier, and wherein the first identifier is associated with the message being sent by the message source and the second identifier is associated with an acknowledgement expected by the message source from the message destination;
- responsive to receiving at the message destination the message, one of said software portions is configured to store, at the destination persistent memory, a response to the message;
- one of said software portions is configured to send to the message source an acknowledgment of receipt of the message at the message destination;
- one of said software portions is configured to delete the message stored at the source persistent memory associated with the first identifier responsive to receiving acknowledgment of receipt from the message destination;
- and
- one of said software portions is configured to delete at the destination persistent memory responses to messages associated with identifiers prior to the second identifier.
A computer implemented method for bounding storage space in a response based messaging system, the method comprising:
- storing at a source persistent memory a message associated with a first message identifier;
- sending the message from a source to a destination wherein the message includes the first message identifier and a second message identifier, wherein the second message identifier is associated with message acknowledgments expected by the source;
- receiving at the destination the message, the first message identifier and the second message identifier;
- storing at a destination persistent memory a response to the message;
- responsive to receiving at the destination the message, sending to the source the response including an acknowledgment of receipt of the message corresponding to the first message identifier at the destination;
- responsive to receiving at the source acknowledgment of receipt of the message at the destination, deleting from the source persistent memory the message corresponding to the first message identifier;
- and
- responsive to receiving the second message identifier at the destination, deleting from the destination persistent memory responses associated with messages corresponding to message identifiers prior to the second message identifier.
A non-transitory computer-readable storage medium tangibly embodying a program of instructions executable by a machine wherein said program of instructions comprises a plurality of program codes for bounding storage space in a response based messaging system, said program of instructions comprising:
- program code for storing at a source persistent memory a message associated with a first message identifier;
- program code for sending the message from a source to a destination wherein the message includes the first message identifier and a second message identifier, wherein the second message identifier is associated with message acknowledgments expected by the source;
- program code for receiving at the destination the message, the first message identifier and the second message identifier;
- program code for storing at a destination persistent memory a response to the message;
- responsive to receiving at the destination the message, program code for sending to the source acknowledgment of receipt of the message corresponding to the first message identifier at the destination;
- responsive to receiving at the source acknowledgment of receipt of the message at the destination, program code for deleting from the source persistent memory the message corresponding to the first message identifier;
- and
- responsive to receiving the second message identifier at the destination, program code for deleting from the destination persistent memory responses to messages associated with messages corresponding to message identifiers prior to the second message identifier.
Dependencies are inferred from the claim text.