US 12,260,270 B2
Idempotent event handling
You Li, Shanghai (CN); Zhenji Yang, Shanghai (CN); and Junhui He, Shanghai (CN)
Assigned to SAP SE, Walldorf (DE)
Filed by SAP SE, Walldorf (DE)
Filed on Jun. 1, 2023, as Appl. No. 18/204,614.
Prior Publication US 2024/0403145 A1, Dec. 5, 2024
Int. Cl. 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)
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)] 17 Claims
OG exemplary drawing
 
1. A system comprising:
at least one hardware processor; and
a computer-readable medium storing instructions that, when executed by the at least one hardware processor, cause the at least one hardware processor to perform operations comprising:
receiving an event from an event producer in an event-driven architecture, the event generated during a first session established between a user and the event producer;
generating a first session identification for the first session, the first session identification being different than a second session identification generated for a second session established between the user and the event producer;
determining a first event consumer worker from a plurality of different event consumer workers based on calculating a hash of the first session identification and then performing a calculation of the hash modulo a defined number indicating an amount of different event consumer workers available to process the event; and
sending the event, and other events that occur during the first session, to the first event consumer worker for processing.