Skip to content
← All components

Compute

Real-time connection gateway

Holds long-lived WebSocket connections and pushes events (messages, locations, prices) to clients.

When to use

  • Chat
  • Live tracking
  • Tickers and scoreboards

Pitfalls

  • Needs a connection registry and cross-node pub/sub
  • Reconnect storms after deploys

Options by provider

The first option is what diagrams show for that provider.

Amazon Web Services

  • API Gateway WebSocket APIsManaged
  • AWS AppSyncManaged

Google Cloud

  • Self-hosted on GKE — no dedicated managed serviceSelf-hosted

Microsoft Azure

  • Azure Web PubSubManaged
  • Azure SignalR ServiceManaged

Open source / self-hosted

  • Socket.IOSelf-hosted
  • CentrifugoSelf-hosted

Third-party (works with any cloud)

  • AblyManaged
  • PusherManaged

Related concepts

Used in