We’re considering Cloudflare, but I have a few questions about WebSockets. I’m looking at the WebSockets page in the docs (https://developers.cloudflare.com/network/websockets/), but it’s a bit vague.
What’s the difference between “medium” and “high” volume of concurrent connections? How many concurrent connections are considered to be a “medium” amount?
Roughly how often does Cloudflare deploy code that restarts servers, thus terminating active websocket connections?
What’s the difference between “medium” and “high” volume of concurrent connections? How many concurrent connections are considered to be a “medium” amount?
Currently there isn’t a completely set limit for this, however our systems are built around parameters that a Small Business would expect within their traffic pool.
If you do exceed what is classified acceptable for you plan nothing will happen immediately. Cloudflare will allow occasional spikes in usage beyond our guidelines and we will not apply unnecessary limits.
Roughly how often does Cloudflare deploy code that restarts servers, thus terminating active websocket connections?
Regarding server restarts, Cloudflare does not publish a schedule for code deployments that may restart servers. However, Cloudflare’s architecture is designed for high availability, so such events should be infrequent.