The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Add Realtime multiplayer demo blog
Wen Bo Xiecaf7ed7cc51c
diff --git a/www/_blog/2022-04-01-supabase-realtime-with-multiplayer-features.mdx b/www/_blog/2022-04-01-supabase-realtime-with-multiplayer-features.mdxindex bdbfb9b3535..9e051c145b9 100644--- a/www/_blog/2022-04-01-supabase-realtime-with-multiplayer-features.mdx+++ b/www/_blog/2022-04-01-supabase-realtime-with-multiplayer-features.mdx@@ -11,7 +11,9 @@ date: '2022-04-01'toc_depth: 3----Today is the 1st of April, or April Fool’s Day, but I like to think of today as Supabase Realtime Day where we announce and demo the next iteration of Realtime.+Today is the 1st of April, or April Fool’s Day, but I like to think of today as Supabase Realtime Day where we announce and demo the next version of Realtime.++Here's the next version of Realtime, with multiplayer features.<iframeclassName="w-full video-with-border"@@ -23,10 +25,44 @@ Today is the 1st of April, or April Fool’s Day, but I like to think of today aallowFullScreen></iframe>+## New Features+### Presence+- CRDT (Conflict-free Replicated Data Type) on a distributed cluster useful for storing synced data across nodes+- Showing when users are online+- When a user disconnects (even accidentally!), the server automatically detects this and let’s everyone else know+### Broadcast++- Clients can communicate with other clients by subscribing/publishing to topics+- Great for ephemeral events like cursor movements++### Extensions+- We’re re-architecting the way that we listen to PostgreSQL databases to open up WebSocket functionality for general use+ - Instead of only using WebSockets to broadcast database changes, we are now moving the PostgreSQL listener to an “extension” architecture+- Ideas+ - Developer can listen to multiple PostgreSQL databases at the same time+ - Listen to database changes from other databases+ - Finance: Listen to stock market events and broadcast them+ - Web3: Listen to blockchain events and broadcast them+ - A server clock which broadcasts a timer to every connected client (e.g. auction sites)++## Demo++[multiplayer.dev](https://multiplayer.dev)++- Built with Phoenix Web Framework, Next.js, and the next version of Supabase Realtime+- Deployed on a [Fly.io](https://fly.io) cluster of 20 nodes distributed around the world++## Roadmap++- Continue development and perform benchmarks of the next version of Supabase Realtime+- Invite developers and other interested parties from the waitlist to use the new version+ - You can sign up for the waitlist at [multiplayer.dev](https://multiplayer.dev)++You can follow development in our [open source repository on GitHub](https://github.com/supabase/realtime/tree/multiplayer).diff --git a/www/public/rss.xml b/www/public/rss.xmlindex c56774497d6..7dc6328fdb9 100644--- a/www/public/rss.xml+++ b/www/public/rss.xml@@ -7,7 +7,15 @@<language>en</language><lastBuildDate>Thu, 31 Mar 2022 22:00:00 GMT</lastBuildDate><atom:link href="https://supabase.com/blog/rss.xml" rel="self" type="application/rss+xml"/>-++<item>+ <guid>https://supabase.com/blog/2022/04/01/supabase-realtime-with-multiplayer-features</guid>+ <title>Supabase Realtime, with Multiplayer Features</title>+ <link>https://supabase.com/blog/2022/03/31/supabase-realtime-with-multiplayer-features</link>+ <description>Today we're announcing the next version of Supabase Realtime with broadcast, presence, and extensions over WebSockets.</description>+ <pubDate>Fri, 01 Apr 2022 22:00:00 GMT</pubDate>+</item>+<item><guid>https://supabase.com/blog/2022/04/01/supabrew</guid><title>Supabrew - Never Code Thirsty</title>