主权项 |
1. A method for performing load balancing and message routing by an intermediary device, the method comprising:
receiving, by a device intermediary to a plurality of short message peer to peer (SMPP) clients and a plurality of SMPP servers, a request from an SMPP client to establish an SMPP session, the request including a first sequence identifier of the SMPP client; replacing, by the device, the first sequence identifier in the request with a second sequence identifier generated by the device; the device storing a mapping of the second sequence identifier to the first sequence identifier and a connection between the device and the SMPP client; selecting, by the device, an SMPP server from the plurality of SMPP servers to forward the request with the second sequence identifier; receiving, by the device, a response from the SMPP server with the second sequence identifier; and identifying, by the device, from the mapping, the first sequence identifier and the connection to the SMPP client using the second sequence identifier to forward the SMPP response with the first sequence identifier. |