Episode 511: Ant Wilson on Supabase (Postgres as a Service)

Topics covered
Popular Clips
Episode Highlights
Features
Supabase leverages the extensive features of PostgreSQL to enhance its capabilities, offering flexibility and scalability for developers. explains that PostgreSQL's extensibility allows for complex authentication policies and the use of various programming languages like SQL, Python, and JavaScript 1. This flexibility is complemented by scalable solutions where each Supabase account is provided with its own EC2 instance, allowing for automatic scaling based on resource usage 2.
You can use your postgres connection string to log in from the command line and do whatever you want. It's yours.
---
This setup ensures that users have control over their resources while benefiting from PostgreSQL's robust features.
Real-Time
Supabase's implementation of real-time data streaming in PostgreSQL is a significant technical achievement. describes how they developed a server that acts as a PostgreSQL replica, receiving the write-ahead log and encoding it into JSON for subscription over websockets 3. This innovation allows users to subscribe to changes at various levels, ensuring secure and efficient data streaming.
The real time stream is fully secure and you can apply the same policies that you apply over the crude API as well.
---
Despite initial challenges with scalability, improvements have been made to handle large write-ahead logs, showcasing the team's expertise in using Elixir for horizontal scalability 4.
Related Episodes


Episode 454: Thomas Richter Postgres as an OLAP database
Answers 383 questions

SE-Radio Episode 362: Simon Riggs on Advanced Features of PostgreSQL
Answers 383 questions

SE Radio 583: Lukas Fittl on Postgres Performance
Answers 383 questions

364: Peter Zaitsev on Choosing the Right Open Source Database
Answers 383 questions

Episode 189: Eric Lubow on Polyglot Persistence
Answers 383 questions
SE Radio 560: Sugu Sougoumarane on Distributed SQL Databases
Answers 383 questions

SE-Radio Episode 243: RethinkDB with Slava Akhmechet
Answers 383 questions

Episode 413: Spencer Kimball on CockroachDB
Answers 383 questions

Episode 510: Deepthi Sigireddi on How Vitess Scales MySQL
Answers 383 questions

Episode 433: Jay Kreps on ksqlDB
Answers 383 questions

Episode 55: Refactoring Pt. 2
Answers 383 questions

Episode 137: SQL with Jim Melton
Answers 383 questions

Episode 186: Martin Fowler and Pramod Sadalage on Agile Database Development
Answers 383 questions

Episode 216: Adrian Cockcroft on the Modern Cloud-based Platform
Answers 383 questions
Episode 417: Alex Petrov on Database Storage Engines
Answers 383 questions













