Loading…
Alpha Launch Postmortem
SupabasePaul Copplestone
Summary
An unexpected viral submission on Hacker News prompted sudden alpha traffic for Supabase, attracting 30,000 visitors and over 1,400 signups in one week. The surge strained initial infrastructure, which initially relied on a single server running Docker Compose for middleware and Digital Ocean for customer databases. System bottlenecks emerged rapidly, including hit limits on Digital Ocean droplet counts, frequent physical server faults, and a three-hour provisioning outage when Cloudflare reached its 1,000-subdomain limit. In response, the team migrated middleware to multiple globally load-balanced ECS clusters via AWS Global Accelerator. Supabase also transitioned 1,800 servers from Digital Ocean to AWS t3a instances, nearly halving database startup times from 90 seconds to 50 seconds.
Context
During alpha testing, an unplanned viral Hacker News post drove 30,000 visitors and over 1,400 signups in seven days, pushing Supabase to over 1,000 customer databases. This unexpected traffic surge exposed infrastructure bottlenecks across third-party providers, including rapid exhaustion of Digital Ocean server limits, physical hardware errors requiring offline migrations, and a three-hour outage caused by hitting Cloudflare's 1,000-subdomain threshold.
Approach / What changed
Supabase migrated its middleware from a single Ubuntu server running Docker Compose to multiple ECS clusters load-balanced with AWS Global Accelerator. To address cloud provider issues and credit limitations on Digital Ocean, the team migrated 1,800 servers to AWS under the AWS Activate program, deploying on AWS t3a instances to improve Postgres provisioning speed.
Takeaways
- Hitting Cloudflare's 1,000-subdomain limit caused a three-hour outage because account upgrade permissions were restricted solely to the account owner, preventing available team members from resolving it immediately.
- Running middleware via Docker Compose on a single 4-CPU, 8GB RAM Ubuntu server unexpectedly handled the initial viral traffic before being transitioned to multiple ECS clusters using AWS Global Accelerator.
- Migrating 1,800 database servers from Digital Ocean to AWS t3a instances reduced Postgres database startup times from approximately 90 seconds to 50 seconds.
Related reading
Supabase ·
How we launch at Supabase
Following their participation in YCombinator, Supabase sought a structured method to maintain product momentum and recreate the urgency of an accelerator internally. The team established Launch Week, a quarterly shipping sprint using a fixed-timeline and flexible-scope model where a major feature or announcement releases each day for a week. Each cycle begins with a broad distributed planning session that maps high-level goals and generates ideas, followed by execution and finely scheduled launch days covering coordinated social media, blog posts, and community engagement. Following the launch, team members transition into maintenance mode and downtime to handle support, bug fixes, and open-source contributions. Finally, a structured retrospective evaluates successes, failures, and process relevance before carrying lessons into the next planning meeting.
Ant WilsonSupabase ·
Holiday Hackdays Winners 2021
Supabase organized the Holiday Hackdays 2021 hackathon following their launch week and announced the winning and runner-up community submissions. Selected winners include Swappy.one by Zernonia, the realtime polling platform rtPoll by Emilio and Federico Schepis, Santa Banter for holiday jokes by Andy Keogh, and the wishlist app the get list by glowdexapp. Recognized runners-up include Chivel for YouTube channel landing pages, the end-to-end encrypted e2ee-chat, a Flutter-based Holiday Sweater voting app, and a greeting card platform built by high school hackers. Winners receive limited-edition gold medal shirts, while runners-up earn silver medal shirts. All project submissions were made available for viewing on madewithsupabase.com.