惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
Cloudbric
Cloudbric
P
Palo Alto Networks Blog
T
Threatpost
T
Tor Project blog
T
Tenable Blog
AWS News Blog
AWS News Blog
Project Zero
Project Zero
L
LangChain Blog
Cyberwarzone
Cyberwarzone
Engineering at Meta
Engineering at Meta
雷峰网
雷峰网
C
CERT Recently Published Vulnerability Notes
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Security Latest
Security Latest
云风的 BLOG
云风的 BLOG
I
Intezer
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
P
Proofpoint News Feed
A
Arctic Wolf
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News
V
Vulnerabilities – Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
MongoDB | Blog
MongoDB | Blog
aimingoo的专栏
aimingoo的专栏
K
Kaspersky official blog
Jina AI
Jina AI
N
News | PayPal Newsroom
T
The Blog of Author Tim Ferriss
D
DataBreaches.Net
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
Recorded Future
Recorded Future
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Secure Thoughts
TaoSecurity Blog
TaoSecurity Blog
P
Privacy & Cybersecurity Law Blog
P
Proofpoint News Feed
MyScale Blog
MyScale Blog
IT之家
IT之家
Forbes - Security
Forbes - Security
The Hacker News
The Hacker News
Last Week in AI
Last Week in AI
T
Threat Research - Cisco Blogs
Y
Y Combinator Blog

Feed

React 19 Performance Optimizations You Need to Know Tesla Recalls 2.2 Million Vehicles Over Autopilot Software Bug Creating Interactive Prototypes in Figma with Smart Animate OpenAI Introduces GPT-4 Turbo with Vision API Building AI-Powered React Components with Vercel AI SDK Figma Introduces AI-Powered Design System Generator The Rise of Local-First Software Development GitHub Copilot Usage Surpasses 1.8 Million Paid Users Building Responsive Layouts with CSS Container Queries Major Security Flaw Discovered in Popular JWT Libraries The Hidden Cost of Technical Debt in Startup Engineering Figma Launches Dev Mode 2.0 with Code Generation Why SaaS Companies Are Moving Away from Microservices Building Faster APIs with Bun and Elysia
Supabase Launches Real-time Multiplayer Engine
Jammie Watson · 2024-08-15 · via Feed
Supabase

Supabase introduces a new real-time multiplayer engine that handles presence, broadcasting, and state synchronization for collaborative applications with sub-100ms latency

Supabase Launches Real-time Multiplayer Engine

Supabase has launched Multiplayer Engine, a real-time infrastructure service that makes building collaborative applications as simple as adding a few lines of code. The service promises sub-100ms latency globally with automatic scaling.

Key Features

Presence Tracking

  • See who's online in real-time
  • Track user cursors and selections
  • Handle user join/leave events automatically

State Synchronization

  • Conflict-free replicated data types (CRDTs)
  • Automatic state merging across clients
  • Rollback and replay capabilities

Broadcasting

  • Send messages to specific rooms or users
  • Rate limiting and message queuing built-in
  • Support for binary data and file sharing

Simple Integration

Getting started requires minimal setup:

import { createClient } from '@supabase/supabase-js'

const supabase = createClient(url, key)

// Join a multiplayer room
const room = supabase.multiplayer('document-123')

// Track presence
room.track({ cursor: { x: 100, y: 200 } })

// Listen for changes
room.on('presence', (state) => {
  console.log('Users online:', state)
})

💡

Unlike traditional WebSocket solutions, Supabase Multiplayer Engine handles connection management, scaling, and persistence automatically through PostgreSQL integration.

Use Cases

Early adopters are building:

  • Collaborative editors (documents, code, design tools)
  • Real-time dashboards with live data updates
  • Multiplayer games with synchronized game state
  • Live chat applications with presence indicators
  • Collaborative whiteboards and drawing tools

Pricing and Limits:

Free Tier

  • 100 concurrent connections
  • 1GB data transfer per month
  • Basic presence and broadcasting

Pro Tier ($25/month)

  • 1,000 concurrent connections
  • 10GB data transfer
  • Advanced state synchronization
  • Priority support

Enterprise

  • Custom connection limits
  • Dedicated infrastructure
  • SLA guarantees

Performance Benchmarks

Supabase claims impressive performance metrics:

  • Sub-100ms latency for presence updates
  • 10,000+ concurrent users per room
  • 99.9% uptime with automatic failover
  • Global edge deployment in 15+ regions
"We replaced our custom WebSocket infrastructure with Supabase Multiplayer and reduced our real-time code by 80%. The presence tracking just works out of the box." - Engineering Lead at CollabTool

The service is available now for all Supabase users, with comprehensive documentation and starter templates for popular frameworks including React, Vue, and Svelte.

This launch positions Supabase as a serious competitor to specialized real-time services like Pusher and Ably, while leveraging their existing PostgreSQL infrastructure.