Smart Queueing Technology
How Telgorithm's Smart Queueing manages messaging throughput, carrier rate limits, message prioritization and time routing.
Introduction to Smart Queueing Technology
Telgorithm's Smart Queueing Technology optimizes and manages messaging throughput while ensuring compliance with carrier-specific limits to prevent messages from exceeding those limits and failing, and to avoid capping below approved carrier limits. Central to this system is the registration with The Campaign Registry (TCR). Registering your messaging traffic with TCR allows for higher throughput, which must be actively managed to avoid dropped or blocked messages.
This technology does not require any effort to implement, leverage, or oversee. Smart Queueing is automatically running for 10DLC and Toll-Free traffic to manage Carrier rate limits for your customers.
Throughput Limits
Throughput limits, also known as rate limits, define the number of text messages (SMS segments and MMS messages) that can be sent within a specific time frame. Typically, limits are expressed in TPM (throughput per minute) and TPS (throughput per second).
These limits vary depending on the traffic type (10DLC, Toll-Free) and the recipient carrier. Extended vetting can be applied to increase 10DLC limits.
- AT&T: Independent limits for SMS and MMS based on the Campaign class, typically enforced per TCR Campaign, and in rare cases, per Sender Phone Number. For instance, 240 TPM for SMS and 150 TPM for MMS per TCR campaign.
- T-Mobile: A cumulative daily cap for SMS and MMS, enforced per TCR Brand and reset at midnight Pacific time. For instance, a daily cap of 2000 messages.
- US Cellular: Independent limits per Sender Phone Number, with 60 TPM for SMS and 20 TPM for MMS.
- Verizon: Independent limits per Sender Phone Number, with 6000 TPM for SMS and 25 TPS for MMS.
- Other Carriers: A combined limit of up to 30 TPM for SMS and MMS per Sender Phone Number.
For toll-free numbers, the throughput limits are 180 TPM for SMS and 3 TPS for MMS per Sender Phone Number.
Throughput Safety Margin
To account for potential discrepancies in carrier detection and upstream incidents, Telgorithm introduces a safety margin for throughput limits. This margin is subtracted from every throughput limit listed above to protect traffic from being impacted by unexpected issues. The margin is kept minimal to ensure that throughput is not significantly sacrificed.
The safety margin is 10% of the limit, but no more than 10 units of that limit: 10 TPM for per-minute limits, 10 TPS for per-second limits, or 10 messages for the T-Mobile daily cap. For example, the US Cellular SMS limit of 60 TPM is enforced as 54 TPM, while an AT&T limit of 240 TPM is enforced as 230 TPM.
Per-minute and per-second limits also include a small timing buffer that absorbs delays between Telgorithm and the carriers. As a result, the sustained throughput you observe can be a few percent below the limit. The T-Mobile daily cap is counted over exactly one day, starting at midnight Pacific Time.
Throughput Alerts
Telgorithm alerts you when a Brand, Campaign, or sender phone number uses a large share of its throughput limit. Alerts are sent by email and via the TrafficLimitAlert webhook.
Real-Time Alerts for T-Mobile
T-Mobile limits are daily caps per Brand, so Telgorithm checks them as messages are sent and alerts you the moment a threshold is crossed.
reasonCode | When it is sent |
|---|---|
LimitApproaching | The Brand has used more than two-thirds of its effective daily limit. |
LimitReached | The Brand has reached its effective daily limit. Further messages to T-Mobile recipients under this limit wait in the queue until the limit resets at midnight Pacific Time. |
- Effective limit. Both alerts use the T-Mobile cap minus the safety margin, the same limit Smart Queueing enforces. The
throughputfield shows this effective limit, anddailyUsagePercentageis calculated against it. - Once per day. Each alert is sent at most once per Brand per day. The day starts at midnight Pacific Time, and the two alerts are counted separately.
- Large jumps. If one message takes the Brand from below two-thirds straight to the full limit, only
LimitReachedis sent for that day. - No repeats. Messages that are queued, blocked, or expire after the limit is reached do not trigger more alerts.
- Limit changes. If the Brand's limit changes during the day, usage is checked against the new limit, and the alerts can be sent again for it.
- Usage below 100%.
dailyUsagePercentagein aLimitReachedalert can be slightly below 100: the alert is sent when the next message no longer fits into the limit.
Daily Alerts for Other Carriers
For AT&T, Verizon, and U.S. Cellular, Telgorithm checks usage once a day and sends webhooks the next morning about the previous day (Pacific Time).
The check compares the number of messages sent during the day with the daily capacity of each limit: the effective limit (after the safety margin), converted to messages per hour (TPM × 60 or TPS × 3,600), multiplied by your sending hours (the Sending Times set in the Messaging Config, or 24 hours if none are set).
| Level | reasonCode | Condition |
|---|---|---|
| Green | PastPstDayHighUsage | More than two-thirds of the expected daily traffic was used. Expected traffic counts at most 12 sending hours a day. |
| Orange | PastPstDayLimitApproached | More than two-thirds of the full daily capacity was used. |
| Red | PastPstDayLimitExceeded | The full daily capacity was exceeded. Some messages may have been queued or expired. |
Email Alerts
Email alerts are based on the same daily check for all carriers, including T-Mobile, and use the same levels and effective limits. To keep your inbox quiet, an alert of the same level is emailed at most once a day for Red, once a week for Orange, and once a month for Green.
Message Prioritization
Smart Queueing allows for prioritizing messages to ensure that high-priority messages are delivered first. This is crucial when messages need to be queued, as it ensures that urgent communications are not delayed.
Specifically, any higher-priority message will be processed before lower-priority ones, regardless of their submission time. If the messages queued for a particular Campaign or Brand have mixed priorities, lower-priority messages will be delayed until all higher-priority messages are sent once the Brand or Campaign limit is reset.
Time Routing
Time Routing enables you to manage the delivery of queued messages efficiently.
Sending Times: You can specify sending times in the messaging configuration, pausing message delivery outside defined time slots.
Message Expiration: You can set expiration times for individual messages using the ExpiresOn field when submitting messages via the Outbound Message API endpoint. If a message is not sent before its expiration time, its status will be changed to Expired, and no further delivery attempts will be made.
The maximum allowed expiration period is up to 72 hours from the time the message is submitted.