Skip to content
Menu
All companies
Supabase

Supabase: documented Elixir use

Supavisor, its Postgres connection pooler, is built in Elixir with Rust handling SQL parsing.

How Supabase uses Elixir

Supabase built Supavisor in Elixir to manage Postgres connections with high concurrency and heavy I/O. The pooler sits between clients and database servers rather than replacing Postgres itself.

For SQL parsing, the team brought Rust into the Elixir application through Rustler. Supavisor also supports distributing read requests between a primary server and replicas.

Source

Read the engineering story. This profile describes the implementation discussed in that source.