Changelog
November 2024
[November 22, 2024] Websocket connection limit update
Connection instructions:
Connection limit: 300 connection requests/IP/5min, Max 100 connections/IP
Subscription limit: 240 subscription requests/Hour/connection, Max 1000 channel subscription/connection
If there’s a network problem, the system will automatically disconnect the connection.
To keep the connection stable:
- Websocket will be forcibly disconnected every 24 hours, please add the reconnection mechanism in your code
- Users set a 30 seconds timer to a send string "ping", and expect a string "pong" as response. If no string "pong" received, please reconnect
- Websocket server will disconnect the connection if there is no string "ping" received for 2 min
- The Websocket server accepts up to 10 messages per second. The message includes:
- String "ping"
- JSON message, such as subscribe, unsubscribe.
- If the user sends more messages than the limit, the connection will be disconnected. The IP which is repeatedly disconnected may be blocked by the server
- We highly recommend you to subscribe less than 50 channels in one connection. The connections with less channel subscriptions will be more stable.
