How to increase the SMS transfer rate of HTTP REST SMS Client connections
HTTP SMS connections are not the best choice for high performance messaging, since HTTP transactions carry a lot of communication overhead. The HTTP headers in the HTTP request / response can increase the data payload by a 10-15 times. If you can choose go for SMPP or CIMD2 or UCP/EMI SMS connection for high speed traffic. If you are stuck with HTTP or HTTPS, read the following article to increase performance.
How can you increase the SMS transfer rate on HTTP and HTTPS connections
To increase the performance, there are a two things you can do:
First, you can create multiple HTTP connections simultaneously and let Ozeki SMS Gateway distribute the SMS messages between the connections. In the Ozeki configuration form, this can be achieved by increasing the Window size. The window size setting of X means, that Ozeki Will send X SMS messages out before waiting for the response for the first. In the algorithm this means, that X number of simultaneous HTTP requests are executed.
Second, you can configure Ozeki to use the "Keepalive" option of HTTP/1.1, to keep existing connections alive, and reuse them to send messages. This setting will eliminate the need of setting up a new process on the receiving end to accept each incoming request. Basically one TCP/IP (and optionally TLS) will be created and all HTTP requests will be sent through this single link.
Video of the configuration
Screenshots of the configuration
More information
- Simple Hello World Tomchat servlet
- How to increate the speed of HTTP rest SMS client