| CPC G06F 16/2358 (2019.01) [G06F 16/2365 (2019.01)] | 18 Claims |

|
1. One or more non-transitory computer readable media comprising instructions which, when executed by one or more hardware processors, causes performance of operations comprising:
initiating, by a particular processing thread for a particular microservice for a particular tenant, execution of an atomic transaction, the atomic transaction comprising (a) executing a database transaction by adding, modifying, or deleting a value in a database instance and (b) logging, to an event outbox associated with the particular tenant, information corresponding to the database transaction;
receiving, by the particular processing thread, confirmation of execution of the atomic transaction;
responsive to receiving the confirmation of the execution of the atomic transaction, publishing, by the particular processing thread in a particular stream partition, a notification corresponding to the execution of the atomic transaction, wherein the notification comprises information that can be used to identify the event outbox storing the information corresponding to the database transaction;
receiving, by an event publisher subscribed to the particular stream partition, the notification corresponding to the execution of the atomic transaction;
responsive to the event publisher receiving the notification, corresponding to the execution of the atomic transaction, via the particular stream partition that is subscribed to by the event publisher:
retrieving, by the event publisher from the event outbox, the information corresponding to the database transaction; and
publishing, by the event publisher, an event based on the information corresponding to the database transaction.
|