Skip to main content

Use Cases

  • Real-time Applications: Build interactive apps like messaging, live dashboards, or multiplayer games.
  • Event Streaming: Push updates instantly for stock tickers, live scores, or monitoring feeds.
  • IoT & Device Data: Stream data from connected devices securely at scale.
  • Collaboration Tools: Enable whiteboards, document co-editing, or video chat signaling.

Enabling WebSockets

You can enable WebSockets directly in the dashboard:
  1. Navigate to your Pull Zone -> General -> WebSockets
  2. Toggle the “WebSockets” switch.
  3. Your site will immediately now support establishing WebSocket connections at our edge.

Connection Limits

Each Pull Zone has a maximum number of simultaneous WebSocket connections it will accept. New zones default to 500 concurrent connections, and you can raise or lower this limit at any time from the dashboard or API.
  • The minimum limit is 100 connections.
  • You can self-serve up to 25,000 concurrent connections.
  • Limits are rounded up to the nearest 100.
Need more than 25,000 concurrent connections? Our team can help tailor a plan to fit your needs. Simply contact sales via support to discuss higher limits.

Pricing

WebSockets are billed pay-as-you-go based on how long connections stay open. There is no monthly subscription and no separate plan to choose. Your maximum-connection limit only caps how many simultaneous connections a zone will accept; it does not affect how you are billed.
MetricPrice
Connection time$0.235 per million connection-minutes
BandwidthSame rate as standard CDN bandwidth
Usage is metered on the total time your connections remain open. One connection-minute is a single open connection for one minute, so 1,000 connections held open for one minute equals 1,000 connection-minutes. Charges are calculated continuously and added to your account throughout the month. For example, holding 1,000 concurrent connections open continuously for a 30-day month is roughly 43.2 million connection-minutes, or about $10.15 for the month. WebSocket bandwidth is charged at the same rate as regular CDN bandwidth and is included in your monthly CDN bill.