The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat: Channels section
Chase Granberry47ef66e30127
diff --git a/apps/docs/pages/guides/realtime/channels.mdx b/apps/docs/pages/guides/realtime/channels.mdxnew file mode 100644index 00000000000..e47e4117f89--- /dev/null+++ b/apps/docs/pages/guides/realtime/channels.mdx@@ -0,0 +1,22 @@+import Layout from '~/layouts/DefaultGuideLayout'++export const meta = {+ id: 'channels',+ title: 'Realtime Channels',+ description: 'WebSockets are Channels on Supabase Realtime',+ sidebar_label: 'Channels',+}++Channels are a `topic` you define when you initialize your Supabase Realtime client. Everyone connected to the same Channel will receive the same messages.++Clients can send and receive messages bi-directionally over a Channel. The Realtime backend can also push messages to all clients connected to the same Channel.++A single client can receive change records from Postgres, Broadcast messages from other clients and Presence updates all over the same Channel.++Channels are implemented over [Phoenix Channels](https://hexdocs.pm/phoenix/channels.html) which uses [Phoenix.PubSub](https://hexdocs.pm/phoenix_pubsub/Phoenix.PubSub.html) with the default `Phoenix.PubSub.PG2` adapter.++The PG2 adapter utilizes Erlang [process groups](https://www.erlang.org/docs/18/man/pg2.html) to implement the PubSub model where a publisher can send messages to many subscribers.++export const Page = ({ children }) => <Layout meta={meta} children={children} />++export default Page