Inventor(s)

Abstract

In multi-tenant cloud environments using publish-subscribe messaging, dynamically provisioning a compute resource, or executor, for a new message topic can result in message loss during the provisioning delay. A temporary holding subscription can be created in conjunction with the message topic to durably buffer initial messages. In parallel, an asynchronous process, which may for example be driven by the analysis of administrative audit logs that record the topic creation event, can provision a serverless executor. Once provisioned, the executor can connect to the holding subscription to process the buffered messages before handling new ones. This technique can help to synchronize the executor and topic lifecycles, which may improve message reliability by reducing message loss and may enhance resource efficiency by creating executors on-demand rather than pre-provisioning idle compute resources.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.

Share

COinS