US 11,860,899 B2
Data synchronization in cloud platforms without database locking
Ahmad Hassan, Maidenhead (GB)
Assigned to SAP SE, Walldorf (DE)
Filed by SAP SE, Walldorf (DE)
Filed on Oct. 18, 2021, as Appl. No. 17/503,560.
Prior Publication US 2023/0124068 A1, Apr. 20, 2023
Int. Cl. G06F 16/23 (2019.01); G06F 16/25 (2019.01); G06F 16/27 (2019.01)
CPC G06F 16/278 (2019.01) [G06F 16/2308 (2019.01); G06F 16/2358 (2019.01); G06F 16/2365 (2019.01); G06F 16/256 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method for updating data in databases accessed by multi-tenant, service-based applications, the method being executed by one or more processors and comprising:
receiving, by a messaging system, a first message having a first key, the first key indicating a first tenant of a set of tenants;
providing, by the messaging system, the first message in a first partition of a set of partitions of a messaging queue in response to the first key indicating the first tenant, a number of partitions in the set of partitions being based on a number of service instances in a set of service instances;
reading, by a first service instance, the first message from the first partition, the first service instance being in the set of services instances, each service instance executing a service of a service-based application; and
in response to the first message, updating, by the first service instance, at least a portion of first data stored within a database system, the at least a portion of first data being associated with the first tenant, the database system storing data of each tenant of the set of tenants.