Patent 11588744 was granted and assigned to Amazon on February, 2023 by the United States Patent and Trademark Office.
A triggering system of a message processing service invokes a dispatch function to execute code to determine a set of message consumption functions to launch in order to process a set of messages from a queue. The dispatch function determines, based at least in part on the number of messages in the queue, the number of message consumption functions of the set that are to process these messages. The dispatch function invokes, based on the determination, the set of message consumption functions to process the set of messages from the queue.