---
title: "Vitess for Postgres, with the co-founder of PlanetScale"
url: "https://aaronfrancis.com/videos/vitess-for-postgres-with-the-co-founder-of-planetscale"
path: "/videos/vitess-for-postgres-with-the-co-founder-of-planetscale"
type: video
author: Aaron Francis
published: 2025-07-01
topic: Databases
keywords: [vitess, postgres, multigres, sharding, sugu sougoumarane, planetscale, supabase, youtube database, connection pooling, query parsing, keyspace id, database scaling]
youtube_url: "https://www.youtube.com/watch?v=28q9mFh87KY"
chunked: true
full_bytes: 85022
section_count: 24
full_url: "/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/full.md"
site_index: "/llms.txt"
keyword_index: "/llms/keywords.txt"
---

# Vitess for Postgres, with the co-founder of PlanetScale

## Sections (83.0 KB full document — follow any link to read verbatim)

This page is long enough to hit agent truncation cliffs if fetched all at once. Pick the section matching your question below to read it 100% verbatim (< 35 KB each), or open the [full unsplit document (83.0 KB)](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/full.md).

### 1. Intro (00:00–01:58 · 1.9 KB)
Aaron Francis introduces Sugu Marin, co-creator of Vitess and co-founder of PlanetScale, who is now joining Supabase to bring Vitess to Postgres.
Keywords: `database school`, `sugu marin`, `planetscale`, `paypal`, `intro`, `vitess`, `sugu`, `database`
[Read section 1 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/1-intro.md)

### 2. The birth of Vitess at YouTube (01:59–03:47 · 1.9 KB)
Vitess was donated to CNCF after adoption by Slack, GitHub, and Cash App, leading Sugu to co-found PlanetScale with Jiten; after 12 years on Vitess, Sugu took a sabbatical before recently returning to build Vitess for Postgres.
Keywords: `vitess`, `birth`, `sougoumarane`, `taking care`, `years ago`, `invented something`, `github`, `planetscale`
[Read section 2 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/2-the-birth-of-vitess-at-youtube.md)

### 3. The spreadsheet that started it all (03:48–06:21 · 2.8 KB)
Co-creator Mike Solomon created a comprehensive spreadsheet at Dana Street coffee shop listing all current and future database problems at YouTube, which guided the team to build a solution instead of firefighting daily issues.
Keywords: `spreadsheet`, `mysql`, `sougoumarane`, `proxy layer`, `big bet`, `hmm`, `solve`, `vitess`
[Read section 3 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/3-the-spreadsheet-that-started-it-all.md)

### 4. Intelligent query parsing and connection pooling (06:22–09:45 · 3.7 KB)
Vitess evolved from initial conception of cluster management to an intelligent connection pooler that inspected queries rather than just pooling connections dumbly.
Keywords: `connection pooling`, `connection`, `query`, `intelligent`, `intelligent query`, `query parsing`, `pooling`, `mysql`
[Read section 4 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/4-intelligent-query-parsing-and-connection-pooling.md)

### 5. Preventing outages with query limits (09:46–14:02 · 4.5 KB)
Vitess automatically added row limits to queries without them, returning errors when exceeding 10,000 rows to prevent outages from queries fetching massive datasets.
Keywords: `query`, `preventing outages`, `query limits`, `outages`, `devops`, `preventing`, `limits`, `sougoumarane`
[Read section 5 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/5-preventing-outages-with-query-limits.md)

### 6. Growing Vitess beyond a connection pooler (14:02–16:06 · 2.2 KB)
VTablet was initially slow (10ms latency) when launched in 2011 on pre-1.0 Go and hard disks, but the team chose Go because Sugu hated Java and his co-creator hated C.
Keywords: `vitess`, `growing vitess`, `vitess beyond`, `connection pooler`, `beyond`, `connection`, `pooler`, `sougoumarane`
[Read section 6 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/6-growing-vitess-beyond-a-connection-pooler.md)

### 7. Choosing Go for Vitess (16:06–20:01 · 4.5 KB)
The Go team aligned with Vitess's philosophy of simplicity over complexity, prioritized their problems, and helped optimize performance; vtgate was later introduced with keyspace IDs to allow resharding without application changes.
Keywords: `go`, `vitess`, `choosing go`, `choosing`, `zookeeper`, `sougoumarane`, `application`, `vtgate layer`
[Read section 7 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/7-choosing-go-for-vitess.md)

### 8. The life of a query in Vitess (20:01–23:27 · 3.8 KB)
Applications connect via gRPC to vtgate with a keyspace ID, vtgate looks up the topology to find the shard, and the query is routed to the correct vttablet and MySQL instance.
Keywords: `query`, `grpc`, `vitess`, `vt tablet`, `sougoumarane`, `keyspace`, `says`, `shard`
[Read section 8 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/8-the-life-of-a-query-in-vitess.md)

### 9. How sharding worked at YouTube (23:27–26:15 · 2.7 KB)
YouTube used keyspace ID hashing for user IDs and lookup tables for video IDs to co-locate related data across shards, evolving from random shard assignment with lookup tables.
Keywords: `sharding worked`, `ids`, `sharding`, `worked`, `sougoumarane`, `mm-hmm`, `keyspace`, `video ids`
[Read section 9 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/9-how-sharding-worked-at-youtube.md)

### 10. Hiding the keyspace ID from applications (26:15–33:01 · 6.9 KB)
Sugu questioned whether the physical keyspace ID column could be hidden from applications by computing it from SQL WHERE clauses, solving a multi-level complexity problem using relational algebra.
Keywords: `keyspace`, `hiding`, `applications`, `sougoumarane`, `sharding key`, `mm-hmm`, `query`, `hmm`
[Read section 10 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/10-hiding-the-keyspace-id-from-applications.md)

### 11. How Vitess evolved to hide complexity (33:02–36:20 · 3.7 KB)
Vitess learned to identify which parts of complex queries can be preserved and sent to individual shards by applying relational algebra, with Andres improving the query processing architecture at PlanetScale.
Keywords: `planetscale`, `vitess`, `vitess evolved`, `hide complexity`, `evolved`, `complexity`, `sougoumarane`, `relational algebra`
[Read section 11 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/11-how-vitess-evolved-to-hide-complexity.md)

### 12. Founding PlanetScale & maintaining Vitess solo (36:20–39:20 · 3.5 KB)
Sugu co-founded PlanetScale with Jiten while being the sole Vitess maintainer after Google migrated YouTube to Spanner; after building a strong team at PlanetScale, he took a 3-year sabbatical.
Keywords: `planetscale`, `maintaining vitess`, `vitess`, `maintaining`, `founding planetscale`, `vitess solo`, `solo`, `sougoumarane`
[Read section 12 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/12-founding-planetscale-maintaining-vitess-solo.md)

### 13. Sabbatical, rediscovering empathy, and volunteering (39:22–42:14 · 3.2 KB)
During sabbatical, Sugu reinvented himself by emotionally connecting to his value system, particularly rediscovering empathy through volunteer work while maintaining interest in both tech and human service.
Keywords: `rediscovering empathy`, `empathy`, `sabbatical`, `rediscovering`, `volunteering`, `sougoumarane`, `go`, `truly understanding`
[Read section 13 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/13-sabbatical-rediscovering-empathy-and-volunteer.md)

### 14. The itch to bring Vitess to Postgres (42:16–44:59 · 3.0 KB)
Since 2020, the Postgres community requested Vitess support but Sugu was too focused on PlanetScale; a Metronome postmortem about connection issues reignited his passion to bring Vitess to Postgres.
Keywords: `bring vitess`, `vitess`, `postgres`, `bring`, `itch`, `sougoumarane`, `problem needs`, `planetscale`
[Read section 14 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/14-the-itch-to-bring-vitess-to-postgres.md)

### 15. Why Multigres focuses on compatibility and usability (44:59–48:59 · 4.3 KB)
MultiGres prioritizes compatibility, usability, and two-phase commit support (which Vitess discouraged), focusing on making sharding invisible to applications instead of requiring keyspace ID knowledge.
Keywords: `multigress`, `compatibility`, `multigres focuses`, `usability`, `multigres`, `focuses`, `sougoumarane`, `vitess`
[Read section 15 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/15-why-multigres-focuses-on-compatibility-and-usabi.md)

### 16. The Postgres codebase vs. MySQL codebase (49:00–52:12 · 3.5 KB)
Postgres has cleaner 2PC API, more approachable codebase, extensive tribal knowledge, supportive community, and permissive licensing that allows code copying unlike MySQL.
Keywords: `mysql`, `codebase`, `postgres`, `postgres codebase`, `codebase vs`, `mysql codebase`, `sougoumarane`, `heard`
[Read section 16 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/16-the-postgres-codebase-vs-mysql-codebase.md)

### 17. Joining Supabase & building the Multigres team (52:13–54:21 · 2.5 KB)
Sugu joined Supabase to build MultiGres with a small team of 5-10 people, leveraging his experience hiring and training talent from the Vitess community.
Keywords: `joining supabase`, `team`, `supabase`, `multigres team`, `joining`, `multigres`, `sougoumarane`, `go grab`
[Read section 17 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/17-joining-supabase-building-the-multigres-team.md)

### 18. Starting Multigres from scratch with lessons from Vitess (54:22–57:05 · 3.0 KB)
MultiGres will be a Postgres-native project starting from scratch to avoid MySQL-specific code and legacy Vitess features, copying only what makes sense for the new platform.
Keywords: `starting`, `vitess`, `starting multigres`, `mysql`, `scratch`, `multigres`, `lessons`, `sougoumarane`
[Read section 18 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/18-starting-multigres-from-scratch-with-lessons-fro.md)

### 19. MVP goals for Multigres (57:05–1:01:05 · 5.0 KB)
MultiGres MVP will deploy basic VTablet and VTGate for Supabase, transparently handling insert, update, delete, and select queries on fully sharded Postgres without application developer knowledge.
Keywords: `mvp goals`, `mvp`, `goals`, `multigres`, `sougoumarane`, `vt gate`, `mm-hmm`, `gate`
[Read section 19 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/19-mvp-goals-for-multigres.md)

### 20. Integration with Supabase & database branching (1:01:06–1:05:22 · 4.9 KB)
Supabase treats Postgres as a black box, so MultiGres sits as the connection layer without affecting other Supabase features like database branching or observability.
Keywords: `database branching`, `supabase`, `database`, `branching`, `integration`, `sougoumarane`, `black box`, `black`
[Read section 20 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/20-integration-with-supabase-database-branching.md)

### 21. Sugu's dream for Multigres (1:05:23–1:09:21 · 4.3 KB)
Sugu's dream is for users to experience MultiGres as just Postgres that scales massively without feeling like a different system, learning from Vitess's challenge of hiding distributed complexity.
Keywords: `dream`, `sugu dream`, `sugu`, `multigres`, `sougoumarane`, `mm-hmm`, `vitess`, `team`
[Read section 21 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/21-sugus-dream-for-multigres.md)

### 22. Small teams, hiring, and open positions (1:09:22–1:11:08 · 2.7 KB)
MultiGres will use Go and copy 90% of Vitess code (which is database-agnostic), with Sugu actively hiring distributed systems and database experts while keeping the team to 5-10 people.
Keywords: `hiring`, `small teams`, `open positions`, `mysql`, `teams`, `positions`, `sougoumarane`, `vitess`
[Read section 22 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/22-small-teams-hiring-and-open-positions.md)

### 23. Community response to Multigres announcement (1:11:08–1:12:31 · 1.5 KB)
The Postgres community response to MultiGres was overwhelmingly positive, surprising Sugu who worried about being accepted despite his MySQL background.
Keywords: `community`, `community response`, `multigres announcement`, `response`, `multigres`, `announcement`, `postgres community`, `sougoumarane`
[Read section 23 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/23-community-response-to-multigres-announcement.md)

### 24. Where to find Sugu (1:12:33–1:15:13 · 3.2 KB)
Sugu is looking for talent to join MultiGres and is now more socially active on LinkedIn, Twitter, and Reddit after his sabbatical, inviting interested engineers to connect.
Keywords: `find sugu`, `sugu`, `linkedin`, `sougoumarane`, `go`, `leave links`, `listening`, `links`
[Read section 24 verbatim](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale/sections/24-where-to-find-sugu.md)

---

## Related on aaronfrancis.com

- [We're HelloQuery now 👀](/podcast/were-helloquery-now-890bfeb3) *(Podcast · 2023-05-12 · shared: postgres, mysql, planetscale)*
- [React, Vue, Laravel, Rails, and Hotwire. Oh my!](/podcast/react-vue-laravel-rails-and-hotwire-oh-my-b24cc9d7) *(Podcast · 2021-11-30 · shared: postgres, mysql, database scaling)*
- [Making MySQL faster](/videos/making-mysql-faster) *(Video · 2025-06-27 · shared: vitess, planetscale, database scaling)*
- [Aaron Francis is putting PHP in Your JS Files](/podcast/aaron-francis-is-putting-php-in-your-js-files-6f3117a7) *(Podcast · 2025-03-05 · shared: postgres, database scaling, mysql)*
- [It's React in PHP](/podcast/its-react-in-php-1247f189) *(Podcast · 2023-08-15 · shared: mysql, sharding, planetscale)*

## Relevant Resources from Aaron Francis

- **[MySQL for Developers](https://databaseschool.com)** (overview on site: [/courses](/courses)): Full video course covering MySQL indexing, deferred joins, pagination, query plans, and schema design for application developers.
- **[Mastering Postgres](https://databaseschool.com)** (overview on site: [/courses](/courses)): Deep-dive video course on PostgreSQL indexing, query performance, JSONB, full-text search, locking, and production operations.

## Search aaronfrancis.com (2-Hop Static Keyword Index)

Pick the alphabetical shard matching any topic to find exact pages across all articles, newsletters, videos, talks, and podcast transcripts (every shard is < 40 KB):
[A-B](/llms/keywords/a-b.txt) · [C](/llms/keywords/c.txt) · [D-E](/llms/keywords/d-e.txt) · [F-G](/llms/keywords/f-g.txt) · [H-J](/llms/keywords/h-j.txt) · [K-L](/llms/keywords/k-l.txt) · [M-N](/llms/keywords/m-n.txt) · [O-P](/llms/keywords/o-p.txt) · [Q-R](/llms/keywords/q-r.txt) · [S](/llms/keywords/s.txt) · [T-Z](/llms/keywords/t-z.txt) · [Directory](/llms/keywords.txt) · [Site Map](/llms.txt)

Shards for this page's topics: `vitess` ([T-Z](/llms/keywords/t-z.txt)), `postgres` ([O-P](/llms/keywords/o-p.txt)), `multigres` ([M-N](/llms/keywords/m-n.txt)), `sharding` ([S](/llms/keywords/s.txt)).

## About Aaron Francis (Current Context)

Aaron Francis is VP of Marketing and Community at [Laravel](https://laravel.com), founder of [Try Hard Studios](https://tryhardstudios.com), creator of [Solo](https://soloterm.com), co-host of [Mostly Technical](/podcast), and author of [Mastering Postgres](/courses), [High Performance SQLite](/courses), [MySQL for Developers](/courses), and [Screencasting.com](/courses). Full bio: [/about](/about) · Current focus: [/now](/now).
