Method and apparatus for recovering from a failure in a distributed event notification system
First Claim
1. A method for recovering from a failure in a distributed event notification system within a distributed computing system, comprising:
- detecting a failure of an event forwarder, which notifies subscribers of events generated by distributed components in the distributed computing system, wherein the event forwarder is part of the distributed event notification system;
restarting the event forwarder;
requesting a snapshot of current state from the distributed components;
in response to the request, receiving events from the distributed components that specify current state of the distributed components; and
forwarding the events to subscribers that are registered to be notified of the events.
1 Assignment
0 Petitions
Accused Products
Abstract
One embodiment of the present invention provides a system that facilitates recovering from failure in a distributed event notification system. During operation, the system detects a failure of an event forwarder, which notifies subscribers of events generated by distributed components in the distributed computing system. In response to detecting the failure, the system restarts the event forwarder, typically on another node in the distributed computing system. Next, the system requests a snapshot of current state from the distributed components. In response to this request, the system subsequently receives events from the distributed components that specify current state of the distributed components, and then forwards the events to subscribers that are registered to be notified of the events.
41 Citations
24 Claims
-
1. A method for recovering from a failure in a distributed event notification system within a distributed computing system, comprising:
-
detecting a failure of an event forwarder, which notifies subscribers of events generated by distributed components in the distributed computing system, wherein the event forwarder is part of the distributed event notification system;
restarting the event forwarder;
requesting a snapshot of current state from the distributed components;
in response to the request, receiving events from the distributed components that specify current state of the distributed components; and
forwarding the events to subscribers that are registered to be notified of the events. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 18)
-
-
9. A computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for recovering from a failure in a distributed event notification system within a distributed computing system, the method comprising:
-
detecting a failure of an event forwarder, which notifies subscribers of events generated by distributed components in the distributed computing system, wherein the event forwarder is part of the distributed event notification system;
restarting the event forwarder;
requesting a snapshot of current state from the distributed components;
in response to the request, receiving events from the distributed components that specify current state of the distributed components; and
forwarding the events to subscribers that are registered to be notified of the events. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. An apparatus that facilitates recovering from a failure in a distributed event notification system within a distributed computing system, comprising:
-
a detection mechanism configured to detect a failure of an event forwarder, which notifies subscribers of events generated by distributed components in the distributed computing system, wherein the event forwarder is part of the distributed event notification system;
a restarting mechanism configured to restart the event forwarder;
a requesting mechanism configured to request a snapshot of current state from the distributed components;
a receiving mechanism configured to receive events from the distributed components that specify current state of the distributed components; and
a forwarding mechanism configured to forward the events to subscribers that are registered to be notified of the events. - View Dependent Claims (19, 20, 21, 22, 23, 24)
-
Specification