Time bounding notification delivery in an event driven system
First Claim
1. An event driven system comprising:
- a computer network;
a notification broadcaster for sending handle requests for an event;
a plurality of listeners communicatively coupled to the notification broadcaster, each one of the plurality of listeners configured to receive the handle requests and send an acknowledgment after completing an action in accordance with the handle requests, wherein the notification broadcaster proceeds to a next operation after a time bound and sends a termination request to any of the plurality of listeners which have not sent acknowledgements in the time bound to prevent delay from waiting for acknowledgments, wherein each of the plurality of listeners is configured to cancel completing an action in accordance with the handle requests in response to receipt of a termination request, and wherein each of the plurality of listeners is registered as an interested party in a software component in the event driven system and the notification broadcaster cancels the registration as an interested party of any of the plurality of listeners which have not sent acknowledgments in the time bound to prevent future handle requests from being sent to any of the plurality of listeners which have not sent acknowledgments in the time bound.
0 Assignments
0 Petitions
Accused Products
Abstract
The present disclosure prevents unnecessary delays during a notification delivery process in an event driven system. The unnecessary delays may be caused by waiting for event completion acknowledgments for an unbounded time. Notifications (event handle requests) may be dispatched to all interested parties in parallel. Then, handling acknowledgments from the interested parties may be gathered after a specific delay. Termination requests may be sent to non-responding parties in order to prevent indefinite waiting or an advertent notification cycle. Alternatively, non-responding parties may be removed from a list of listeners which have been registered as interesting parties for a software component in the event driven system.
8 Citations
7 Claims
-
1. An event driven system comprising:
-
a computer network; a notification broadcaster for sending handle requests for an event; a plurality of listeners communicatively coupled to the notification broadcaster, each one of the plurality of listeners configured to receive the handle requests and send an acknowledgment after completing an action in accordance with the handle requests, wherein the notification broadcaster proceeds to a next operation after a time bound and sends a termination request to any of the plurality of listeners which have not sent acknowledgements in the time bound to prevent delay from waiting for acknowledgments, wherein each of the plurality of listeners is configured to cancel completing an action in accordance with the handle requests in response to receipt of a termination request, and wherein each of the plurality of listeners is registered as an interested party in a software component in the event driven system and the notification broadcaster cancels the registration as an interested party of any of the plurality of listeners which have not sent acknowledgments in the time bound to prevent future handle requests from being sent to any of the plurality of listeners which have not sent acknowledgments in the time bound. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A non-transitory device readable medium encoded with instructions which, when executed by a device, cause the device to:
-
register all interested parties of a software component to a listener list, wherein the listener list indicates a plurality of listeners; detect a triggering event; send an event handle request, in parallel, to the listeners of the listener list upon detection of the triggering event, wherein the listeners are configured to perform an action related to the event handle request in response to receiving the event handle request; receive an acknowledgement from a listener in the listener list, wherein the acknowledgment is a completion acknowledgment from the listener when action related to the event handle request is accomplished; send a termination request to a non-responding listener when the non-responding listener has not sent the acknowledgment in a time bound to prevent delay from waiting for the acknowledgment, wherein the non-responding listener is configured to cancel performance of the event handle request in response to receiving the termination request; and remove the non-responding listener from the listener list when the non-responding listener has not sent the acknowledgment in the time bound to prevent future event handle requests from being sent to the non-responding listener. - View Dependent Claims (7)
-
Specification