I'm curious about how superbase listen to postgresql changes. On superbase/realtime the readme, I've seen this line: "The beauty of listening to the replication functionality is that you can make changes to your database from anywhere - your API, directly in the DB, via a console etc - and you will still receive the changes via websockets.".
Do you have some informations (i.e links?) about how do superbase listens to the replication functionality? I've take a quick look of the source code and I didn't figure it out.
The open source Firebase alternative.
Supabase gives developers everything they need to build and scale their business so they can spend more time focusing on their users.
Hi, I love the project!
I'm curious about how superbase listen to postgresql changes. On superbase/realtime the readme, I've seen this line: "The beauty of listening to the replication functionality is that you can make changes to your database from anywhere - your API, directly in the DB, via a console etc - and you will still receive the changes via websockets.".
Do you have some informations (i.e links?) about how do superbase listens to the replication functionality? I've take a quick look of the source code and I didn't figure it out.
Thank you!
Edison is correct! We use Postgres logical decoding - github.com/supabase/realtime/blob/...
Okay, thank you :)
They mentioned they use WAL stream here
news.ycombinator.com/item?id=22114560