Published May 10, 2022

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

Ant Wilson delves into Supabase's innovative use of PostgreSQL, emphasizing its commitment to open source and secure authentication. He contrasts Supabase’s capabilities with Firebase, highlighting its strengths in flexibility and simplifying backend tasks for frontend developers.
Episode Highlights
Software Engineering Radio - the podcast for professional software developers logo

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