PubNub achieves optimal response behavior over slow cellular data connections, typically not more than 1-2 seconds, using the following:

  • PubNub compresses each message into a single datagram size, thereby increasing the chance of a quick delivery (preventing multiple back-and-forth packets typically triggered by the protocol).
  • PubNub client detects dropped connections, does an auto-reconnect and uses the timetoken to catchup on missed data (this design ensures that short-term dropped connections are correctly quickly).