Server Behavior
Sessions
Pub/Sub sessions are associated with active and recently active sockets. When a client connects, the server will attempt to restore the prior session if the client supplies a session ID. If the client does not supply a session ID, or the session has expired, the server will create a new session, and supply the new session ID to the client when requested.
...
After a connection loss, the official SDKs will automatically attempt to reconnect with a exponential backoff applied.
Limits
Services must apply limits in order to prevent abuse (whether intentional or accidental).
...