Realtime - Broadcast

Send messages between connected users through websockets.

Stage:
General Availability
Available on self-hosted:
Yes

Supabase's Realtime Broadcast feature enables real-time communication between connected clients using the Realtime system. This functionality allows you to build interactive, collaborative applications where users can instantly share messages or data in real-time.

Key features

  1. Channel-based messaging: Send and receive messages within specific channels or rooms.
  2. Event filtering: Subscribe to specific event types for targeted message handling.
  3. Flexible payload: Transmit various types of data in the message payload.
  4. Self-send option: Configure channels to receive messages sent by the sender.
  5. Message acknowledgment: Confirm message receipt by the Realtime server.
  6. REST API support: Send broadcast messages without an established WebSocket connection.

Benefits:

  • Instant communication: Enable real-time messaging and data sharing between users.
  • Low latency: Achieve near-instantaneous data transmission for time-sensitive applications.
  • Flexible implementation: Use WebSocket connections or REST API calls to send messages.
  • Simplified architecture: Build real-time features without managing complex messaging infrastructure.
  • Enhanced user engagement: Create interactive, collaborative experiences that keep users connected.

Realtime Broadcast is particularly valuable for:

  • Chat applications and messaging platforms
  • Collaborative tools like shared documents or whiteboards
  • Multiplayer games requiring real-time state synchronization
  • Live auction or bidding systems
  • Real-time commenting systems for blogs or social media platforms
  • Interactive presentations or educational platforms

Supabase's Realtime Broadcast feature provides a powerful tool for creating responsive, real-time applications with minimal setup and infrastructure management.

Read Documentation
Share

Build in a weekend, scale to millions