EVENT HANDLING IN DISTRIBUTED EVENT HANDLING SYSTEMS
First Claim
1. An apparatus configured to support handling of events by a message bus of an event handling system, the apparatus comprising:
- a processor and a memory communicatively connected to the processor, the processor configured to;
maintain, by the message bus for an event type, a respective set of event queues for the event type, wherein the event queues for the event type are associated with respective ones of a set of hosts subscribed to the message bus for the event type;
receive, by the message bus for the event type, an event of the event type that is published to the message bus;
store, by the message bus, the event of the event type in one of the event queues for the event type based on respective sets of queue status information associated with the respective event queues; and
send, by the message bus, the event of the event type toward one of the hosts subscribed to the message bus for the event type based on a request from the one of the hosts subscribed to the message bus for the event type.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure generally discloses an event handling capability configured to support handling of events. The event handling capability may be configured to support handling of events in a distributed event handling system, which may use distributed queuing of events, distributed processing of events, and so forth. The distributed event handling system may be serverless cloud system or other type of distributed event handling system. The event handling capability may be configured to support handling of events in a distributed event handling system based on use of a message bus for queuing of events and based on use of hosts for queuing and processing of events.
-
Citations
23 Claims
-
1. An apparatus configured to support handling of events by a message bus of an event handling system, the apparatus comprising:
a processor and a memory communicatively connected to the processor, the processor configured to; maintain, by the message bus for an event type, a respective set of event queues for the event type, wherein the event queues for the event type are associated with respective ones of a set of hosts subscribed to the message bus for the event type; receive, by the message bus for the event type, an event of the event type that is published to the message bus; store, by the message bus, the event of the event type in one of the event queues for the event type based on respective sets of queue status information associated with the respective event queues; and send, by the message bus, the event of the event type toward one of the hosts subscribed to the message bus for the event type based on a request from the one of the hosts subscribed to the message bus for the event type. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
10. A method for handling of events by a message bus of an event handling system, the method comprising:
-
maintaining, by the message bus for an event type, a respective set of event queues for the event type, wherein the event queues for the event type are associated with respective ones of a set of hosts subscribed to the message bus for the event type; receiving, by the message bus for the event type, an event of the event type that is published to the message bus; storing, by the message bus, the event of the event type in one of the event queues for the event type based on respective sets of queue status information associated with the respective event queues; and sending, by the message bus, the event of the event type toward one of the hosts subscribed to the message bus for the event type based on a request from the one of the hosts subscribed to the message bus for the event type.
-
-
11. An apparatus, comprising:
a processor and a memory communicatively connected to the processor, the processor and the memory configured to support a message bus of an event handling system, the message bus comprising; a set of event queues for an event type supported by the event handling system, wherein the event queues for the event type are configured to store events for respective ones of a set of hosts subscribed to the message bus for the event type; a queue monitoring element configured to monitor the event queues and to determine, for each of the event queues, respective queue status information associated with the respective event queue; and an event dispatch element configured to receive an event of the event type that is published to the message bus and to dispatch the event of the event type to one of the event queues for the event type based on the respective queue status information associated with the respective event queues; wherein the message bus is configured to send the event of the event type toward one of the hosts subscribed to the message bus for the event type based on a request from the one of the hosts subscribed to the message bus for the event type.
-
12. An apparatus configured to support handling of events by a host of an event handling system, the apparatus comprising:
a processor and a memory communicatively connected to the processor, the processor configured to; subscribe, by the host, to a first event queue of a message bus, the first event queue of the message bus configured to store events of a first event type to be processed by a first event processing function of the host; subscribe, by the host, to a second event queue of the message bus, the second event queue configured to store events of a second event type to be processed by a second event processing function of the host; maintain, by the host, a local buffer configured to store events received from the first event queue of the message bus and events received from the second event queue of the message bus; and retrieve, by the host based on a local queuing policy of the host and a local event retrieval condition detected at the host, a retrieved event comprising a first event from the first event queue of the message bus or a second event from the second event queue of the message bus. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
23. A method to support handling of events by a host of an event handling system, the method comprising:
-
subscribing, by the host, to a first event queue of a message bus, the first event queue of the message bus configured to store events of a first event type to be processed by a first event processing function of the host; subscribing, by the host, to a second event queue of the message bus, the second event queue configured to store events of a second event type to be processed by a second event processing function of the host; maintaining, by the host, a local buffer configured to store events received from the first event queue of the message bus and events received from the second event queue of the message bus; and retrieving, by the host based on a local queuing policy of the host and a local event retrieval condition detected at the host, a retrieved event comprising a first event from the first event queue of the message bus or a second event from the second event queue of the message bus.
-
Specification