Patent ID: 11902361
Assignee: TWILIO INC.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 12:
13. A non-transitory computer-readable medium storing instructions that, when executed by one or more computer processors of one or more computing devices, cause the one or more computer processors to perform operations comprising:
receiving, at a message routing system, a request of a user of the message routing system to transmit a message to a destination device, wherein the destination device is a client device of a recipient;
selecting, at the message routing system, a first routing provider from a plurality of routing providers to transmit the message of the user to the client device of the recipient, wherein the message routing system, coupled to each of the plurality of routing providers via a network, maintains a separate message queue of a plurality of message queues for each of the plurality of routing providers, and wherein the first routing provider is selected to transmit the message of the user to the client device of the recipient based at least on performance data of each of the plurality of routing providers, the performance data indicating a rate at which messages are dequeued from each message queue at the message routing system to a corresponding routing provider;
adding, at the message routing system, the message into a first message queue designated to the first routing provider;
receiving, by the message routing system and from the first routing provider, a dequeue request indicating that the first routing provider has available bandwidth exceeding a predefined threshold, to process a new message;
responsive to the dequeue request, determining, by the message routing system and based on a predefined order, that the message is to be dequeued from the first message queue designated to the first routing provider; and
dequeuing, by the message routing system, the message from the first message queue to the first routing provider for delivery to the client device of the recipient.