mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
## What Adds internal cross-links from blog posts (`apps/www/_blog`) to the docs page for the product, feature, or concept each post mentions. ## Testing Skim through PR output for any irregularities. Spot check should do. Notes: - Prettier passes on the changed lines (a handful of these posts already had unrelated Prettier issues, left untouched). - Every link target is an existing docs page. --------- Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
104 lines
4.7 KiB
Plaintext
104 lines
4.7 KiB
Plaintext
---
|
||
title: 'Announcing Multigres: Vitess for Postgres'
|
||
description: 'Today we are welcoming Sugu, the co-creator of Vitess, to the Supabase team. He is joining Supabase to build Multigres: Vitess for Postgres.'
|
||
author: paul_copplestone
|
||
imgSocial: multigres/multigres.png
|
||
imgThumb: multigres/multigres.png
|
||
categories:
|
||
- company
|
||
- postgres
|
||
tags:
|
||
- postgres
|
||
date: '2025-06-10'
|
||
---
|
||
|
||
Today we’re welcoming [Sugu](https://www.linkedin.com/in/sougou/), the co-creator of Vitess, to the Supabase team. He is joining Supabase to build **Multigres: Vitess for Postgres**.
|
||
|
||
## Background: what is Vitess?
|
||
|
||
Vitess is a database clustering system for scaling **MySQL** (it doesn’t work for Postgres). Vitess adds:
|
||
|
||
- Sharding
|
||
- Connection pooling
|
||
- Query routing
|
||
- Resiliency and failover
|
||
- Cloud-native orchestration (Kubernetes)
|
||
|
||
Sugu originally built Vitess at YouTube. This (outdated) video explains some of the concepts and motivation:
|
||
|
||
<div className="video-container">
|
||
<iframe
|
||
className="w-full"
|
||
src="https://www.youtube-nocookie.com/embed/midJ6b1LkA0"
|
||
frameBorder="0"
|
||
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
|
||
allowfullscreen
|
||
></iframe>
|
||
</div>
|
||
|
||
<small>
|
||
\* The video mentions 3-5ms latency. This was for hard disks. SSDs now provide sub-millisecond
|
||
latency.
|
||
</small>
|
||
|
||
## What is Multigres
|
||
|
||
Multigres is a new proxy that sits in front of your Postgres database. It shares the same goals as Vitess but it will be focused on the Postgres ecosystem. The ultimate goal of a sharded solution is scale:
|
||
|
||
<Img
|
||
wide
|
||
alt="Scale postgres"
|
||
src={{
|
||
dark: '/images/blog/multigres/sharding-scale.png',
|
||
light: '/images/blog/multigres/sharding-scale.png',
|
||
}}
|
||
/>
|
||
|
||
Sharding inevitably requires tradeoffs, so one of the top priorities for this project is **compatibility:** something that the Postgres community values above almost everything else.
|
||
|
||
We plan to give developers a gradual on-ramp, providing simple connection pooling on the lower-end, high-availability on the top end, all the way through to a sharded solution as you grow into petabyte-scale.
|
||
|
||
## Why Multigres for Postgres?
|
||
|
||
Sugu [shared](https://x.com/ssougou/status/1932445665512284645) some of his personal thoughts on the project and timing:
|
||
|
||
<Quote img="sugu.jpg" caption="Sugu, co-creator of Vitess.">
|
||
|
||
For some time, I've been considering a Vitess adaptation for Postgres, and this feeling had been
|
||
gradually intensifying. The recent explosion in the popularity of Postgres has fueled this into
|
||
a full-blown obsession. As these databases grow, users are going to face a hard limit once they
|
||
max out the biggest available machine.
|
||
|
||
The project to address this problem must begin now, and I'm convinced that Vitess provides the
|
||
most promising foundation. After exploring various environments, I found the best fit with
|
||
Supabase. I'm grateful for how they welcomed me. Furthermore, their open-source mindset and
|
||
fully remote work culture resonated with me.
|
||
|
||
Now, it's time to make this happen.
|
||
|
||
</Quote>
|
||
|
||
## Compatibility with Supabase
|
||
|
||
There will be no fundamental changes to the way Supabase operates today, especially for smaller workloads.
|
||
|
||
That said, there are some overlapping initiatives at Supabase and we will assess how to build the same experience with Multigres. The largest overlap is with [Supavisor](https://supabase.com/blog/supavisor-1-million) (Vitess has vttablet and vtgate). We’ll spend some time assessing the viability of building Vitess around existing Postgres poolers and then decide the best steps forward.
|
||
|
||
Another important initiative at Supabase is [OrioleDB](/features/orioledb), which is a scalable storage engine for Postgres. [OrioleDB](/docs/guides/database/orioledb) and Multigres are complementary and we will work on both simulateneously. Both are extremely important to us.
|
||
|
||
And importantly, one non-goal: Supabase will be 100% focused on Postgres. If you are using MySQL then we recommend that you use Vitess.
|
||
|
||
## Open Source
|
||
|
||
Like Vitess, Multigres will be open source using the same license: Apache 2. You can follow the repo [here](https://github.com/multigres/multigres).
|
||
|
||
Remember to “Watch” the repo to follow our releases. Note: we will initially be focused on getting the project to a stable state and then we will open it up to contributions.
|
||
|
||
## Design partners and early adopters
|
||
|
||
We are looking for partners who would like to use Multigres - either with self-hosting or on the Supabase platform. If you already use Postgres and you are hitting scaling limits, [get in touch](https://forms.supabase.com/multigres).
|
||
|
||
## Join us to build Multigres
|
||
|
||
We are assembling a team to build Multigres. If you are a Go programmer consider applying [here](https://jobs.ashbyhq.com/supabase/2e718684-4f75-4a99-8d6b-3b6bd44e4228).
|