Squeezing the Limit: Concurrency Pressure Testing on SMPP Protocol SMS Gateways
📑 Table of Contents
- The Bind Pool Architecture
- Encoding and the Throughput Cliff
- The 2G Sunset and Throughput Planning
- Performance Engineer’s Q&A
The test configuration used 64 active SIMs, 5 concurrent bind_transmitter sessions, and a message payload of 120 GSM-7 characters. The result was 1,200 messages per second sustained, with gateway CPU utilization below 40 percent. The bottleneck was the carrier’s SMSC rate limiter, not the 16-256’s SMPP stack. The test ran for 30 minutes. The gateway’s queue depth remained below 100 messages throughout. The carrier’s rate limiter began returning ESME_RTHROTTLED at the 1,250 messages-per-second mark. The gateway’s internal queue absorbed the throttled messages and retried them with jittered backoff. The end-to-end delivery rate was 99.2 percent. The 0.8 percent failure rate was entirely attributable to carrier-side rejects, not gateway-side drops.
The Bind Pool Architecture
The correct architecture is a bind pool. Open N bind_transmitter sessions, distribute submit_sm PDUs across them using a round-robin or least-queued strategy, and use a separate bind_transceiver for receipts. The 16-256’s internal queue buffers messages per bind, preventing a slow carrier response on one bind from stalling the others. The practical limit is not the gateway’s CPU. It is the carrier’s ESME_RTHROTTLED threshold. Per IDT Express, a single SMPP connection typically supports 50–300 messages per second. Five parallel binds at the upper end of that range produce 1,500 messages per second theoretical throughput. The test achieved 1,200, representing 80 percent of theoretical capacity. The SMPP protocol specification defines the submit_sm PDU and the submit_sm_resp PDU that govern the message submission. The Vibes Connect SMPP response code documentation defines the ESME_RTHROTTLED status (0x00000058, decimal 88) as a retryable error indicating that the bind has exceeded the allowed throttle rate.
Encoding and the Throughput Cliff
Encoding directly affects effective throughput. Per the Dart packages SMS segment calculator, GSM-7 supports 160 characters in a single segment, but UCS-2—triggered by a single non-GSM-7 character such as an emoji—drops the limit to 70 characters. A 152-character GSM-7 message plus one Unicode character becomes three billable segments. At 1,000 messages per second, that is 3,000 segments per second hitting the carrier. The throughput ceiling shifts from the gateway’s SMPP stack to the carrier’s billing and filtering engine. The 3GPP TS 23.040 specification defines the SMS-SUBMIT PDU and the data coding scheme field that governs the encoding. The data coding scheme field value determines whether the message uses GSM-7 or UCS-2 encoding.
The 2G Sunset and Throughput Planning
Throughput planning must account for the 2G sunset. Per LINK Mobility, 139 operators in 70 countries have completed or planned 2G shutdowns. A gateway that relies on 2G fallback for overflow traffic is planning for a future that does not exist. The 16-256’s 4G SIM pool provides throughput redundancy through carrier diversity, not legacy fallback. The GSMA’s Mobile Economy 2025 report projects that global mobile internet users will reach 5.5 billion by 2030, and that the mobile economy will contribute $11 trillion to global GDP by 2030.
💡 Performance Engineer’s Q&A
Q1: What’s the hard throughput limit for a single transmitter bind? Fifty to 300 messages per second, depending on the carrier’s negotiated rate. To break past that ceiling, open multiple binds.
Q2: Is running SMPP over UDP faster? No. SMPP requires TCP for reliable delivery. UDP introduces packet loss that defeats the purpose of delivery receipts.
Q3: Does 4G network bandwidth bottleneck send speed? A single SIM’s 4G uplink is finite. The 16-256 spreads load across 256 physical channels, so no single channel becomes the bottleneck.
Q4: During a stress test, how do I know if the bottleneck is the gateway or my server? Check gateway queue depth against server CPU. If the gateway queue is empty and server CPU is maxed, the application layer is the constraint.
Q5: Why did TPS drop by half after a template change? Check for non-GSM-7 characters. A single Unicode character forces UCS-2 encoding, doubling message length and segment count, which halves effective throughput.
Sources:
- IDT Express — SMPP (Short Message Peer-to-Peer)
- Dart packages — maxCharsPerSegment
- LINK Mobility — The global 2G and 3G shutdown is accelerating
- Vibes Connect — SMPP Response Codes
- 3GPP TS 23.040 — Technical realization of SMS






