Idempotent mode of executing commands triggered by complex event processing
AssigneeRed Hat, Inc.
InventorsDuncan Doyle, Edson Tirelli
Life of this patent
Estimating the term…
Abstract
Systems and methods for enforcing the idempotent mode of executing commands triggered by complex event processing. An example method may comprise: receiving, by a processing device, an event data item comprising a value of a state variable; applying an event processing rule to the event data item, by evaluating a conditional statement comprising the value of the state variable, to generate an event processing command; producing a command identifier identifying the event processing command; and responsive to failing to insert the command identifier into a hash table employed for storing identifiers of executed commands, discarding the event processing command.
Claims20
A method, comprising:
- receiving, by a processing device, an event data item comprising a value of a state variable;
- applying an event processing rule to the event data item, by evaluating a conditional statement comprising the value of the state variable, to generate an event processing command;
- producing a command identifier identifying the event processing command;
- and
- responsive to failing to insert the command identifier into a hash table employed for storing identifiers of executed commands, discarding the event processing command.
A system comprising:
- a memory;
- and
- a processing device coupled to the memory, the processing device to:
- receive an event data item;
- apply an event processing rule to the event data item, to generate an event processing command;
- produce a command identifier identifying the event processing command;
- insert the command identifier into a hash table employed for storing identifiers of executed commands, wherein the hash table is to reject duplicate command identifiers;
- and
- cause the event processing command to be executed.
A computer-readable non-transitory storage medium comprising executable instructions that, when executed by a processing device, cause the processing device to:
- receive an event data item;
- apply an event processing rule to the event data item, to generate an event processing command;
- produce a command identifier identifying the event processing command;
- and
- responsive to failing to insert the command identifier into a hash table employed for storing identifiers of executed commands, discard the event processing command.
Dependencies are inferred from the claim text.