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 |
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.
|