Client-side fault tolerance in a publish-subscribe system
First Claim
Patent Images
1. A method for client-side fault-tolerance in a publish-subscribe system, the method comprising:
- saving a last known content signature from a previous message when the previous message is received on a channel at a server;
receiving, on the channel, a message from the server;
determining, at a function executing using a processor and a memory, whether the message contains a heartbeat data, wherein the message includes a content signature;
determining, responsive to the message containing the heartbeat data, whether a client is in sync with the server for a content published by the server by determining whether the content signature contained in the message matches the last known content signature; and
sending, responsive to the content signature contained in the message not matching the last known content signature, a refresh message to the channel, the refresh message causing a response to an original request to be re-received on the channel.
1 Assignment
0 Petitions
Accused Products
Abstract
To provide client-side fault-tolerance in a publish-subscribe system, a message is received on a channel from a server. At a function executing using a processor and a memory, a determination is made whether the message contains a heartbeat data. When the message contains the heartbeat data, a determination is made whether a content signature contained in the message matches a last known content signature saved from a previous message. When the content signature contained in the message does not match the last known content signature saved from a previous message, a refresh message is sent to the channel.
-
Citations
20 Claims
-
1. A method for client-side fault-tolerance in a publish-subscribe system, the method comprising:
-
saving a last known content signature from a previous message when the previous message is received on a channel at a server; receiving, on the channel, a message from the server; determining, at a function executing using a processor and a memory, whether the message contains a heartbeat data, wherein the message includes a content signature; determining, responsive to the message containing the heartbeat data, whether a client is in sync with the server for a content published by the server by determining whether the content signature contained in the message matches the last known content signature; and sending, responsive to the content signature contained in the message not matching the last known content signature, a refresh message to the channel, the refresh message causing a response to an original request to be re-received on the channel. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer usable program product comprising a computer readable storage device including computer usable code for client-side fault-tolerance in a publish-subscribe system, the computer usable code comprising:
-
computer usable code for saving a last known content signature from a previous message when the previous message is received on a channel at a server; computer usable code for receiving, on the channel, a message from the server; computer usable code for determining, at a function executing using a processor and a memory, whether the message contains a heartbeat data, wherein the message includes a content signature; computer usable code for determining, responsive to the message containing the heartbeat data, whether a client is in sync with the server for a content published by the server by determining whether the content signature contained in the message matches the last known content signature; and computer usable code for sending, responsive to the content signature contained in the message not matching the last known content signature, a refresh message to the channel, the refresh message causing a response to an original request to be re-received on the channel. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A data processing system for client-side fault-tolerance in a publish-subscribe system, the data processing system comprising:
-
a storage device, wherein the storage device stores computer usable program code; and a processor, wherein the processor executes the computer usable program code, and wherein the computer usable program code comprises; computer usable code for saving a last known content signature from a previous message when the previous message is received on a channel at a server; computer usable code for receiving, on the channel, a message from the server; computer usable code for determining, at a function executing using a processor and a memory, whether the message contains a heartbeat data, wherein the message includes a content signature; computer usable code for determining, responsive to the message containing the heartbeat data, whether a client is in sync with the server for a content published by the server by determining whether the content signature contained in the message matches the last known content signature; and computer usable code for sending, responsive to the content signature contained in the message not matching the last known content signature, a refresh message to the channel, the refresh message causing a response to an original request to be re-received on the channel.
-
Specification