The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Mar. 25, 2025

Filed:

Jun. 01, 2023
Applicant:

Sap SE, Walldorf, DE;

Inventors:

You Li, Shanghai, CN;

Zhenji Yang, Shanghai, CN;

Junhui He, Shanghai, CN;

Assignee:

SAP SE, Walldorf, DE;

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/54 (2006.01); H04L 41/06 (2022.01); H04L 41/0686 (2022.01); H04L 67/1004 (2022.01); H04L 67/1023 (2022.01); H04L 67/63 (2022.01);
U.S. Cl.
CPC ...
G06F 9/542 (2013.01); H04L 41/06 (2013.01); H04L 41/0686 (2013.01); H04L 67/1004 (2013.01); H04L 67/1023 (2013.01); H04L 67/63 (2022.05); G06F 9/544 (2013.01);
Abstract

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.


Find Patent Forward Citations

Loading…