ENGINEERING 14 upvotes 2023

Supavisor: Scaling Postgres to 1M Connections

14 pts
Hacker News Signal
2023 · Shared by @inian
Supavisor: Scaling Postgres to 1M Connections by @inian

Retrospective Overview & Key Insights

Distilled reflections, business mechanics, and tactical takeaways:

In this technical retrospective (2023), @inian shares practical architectural lessons learned from running, scaling, or migrating production software under lean constraints.

Core Principles for Independent Builders:
1
Defaulting to simpler architectures (such as monolithic frameworks, SQLite, or managed VPS) prevents early engineering bankruptcy.
2
Evaluating true compute and egress costs reveals that high cloud bills can often be slashed by 80%+ through judicious re-platforming.
3
Code you write at 2 AM as a solo engineer must be easy to debug six months later without complex microservice dependencies.
Community Debate Themes:

HN engineers debated the tradeoffs between cloud convenience and raw server economics, database indexing strategies, and resisting premature architectural complexity.

Community Discussions & Critical Reviews

Key perspectives, counter-arguments, and peer founder insights debated on Hacker News (1 total discussions):

CH @chasers Peer Contributor
EG @egorr Peer Contributor

supabase engineer here

would be happy to answer questions about load testing setup

here is the github repo[0] with an app that helps me launch terraforms and k6 and keep track of launches/results

[0]https://github.com/supabase/benchmarks ↗

GA @gampleman Peer Contributor

Maybe I’m reading this wrong, but an additional 2ms latency on every query seems pretty unacceptable to me. Do you have any plans to mitigate this downside?

HISTORICAL ERA Post-ZIRP & AI (2023–2026)
COMMUNITY SCORE 14 points
TOTAL DISCUSSIONS 1 comments
TOPICS & TECH STACK: