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
- Channel-based messaging: Send and receive messages within specific channels or rooms.
- Event filtering: Subscribe to specific event types for targeted message handling.
- Flexible payload: Transmit various types of data in the message payload.
- Self-send option: Configure channels to receive messages sent by the sender.
- Message acknowledgment: Confirm message receipt by the Realtime server.
- 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.