Idempotent event handling
AssigneeSap SE
InventorsYou Li, Zhenji Yang, Junhui He
Life of this patent
Estimating the term…
Loading patent…
AssigneeSap SE
InventorsYou Li, Zhenji Yang, Junhui He
Estimating the term…
A partition-based method to implement idempotence in an event-driven architecture is provided, which acts to reduce the pressure of database reading and writing, thus improving the performance of event handling. In order to improve parallelism, a consumer cluster (a cluster of multiple consumers that can share the responsibility of processing events) is established such that the events are distributed among different partitions within the cluster. Each partition contains a different consumer worker (with its own cache). An event dispatch module is then used to dispatch events among the consumer workers in a way that keeps the load balanced. In an example embodiment, this is performed by generating a partition identification for an event based on a hash of the context identification of the session established between the user and the application when the event was generated, followed by a modulo operation based on the number of consumer workers in the cluster.
A system comprising:
A method comprising:
A non-transitory machine-readable medium storing instructions which, when executed by one or more processors, cause the one or more processors to perform operations comprising:
Dependencies are inferred from the claim text.