mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
## What kind of change does this PR introduce? Frontmatter name change. ## What is the current behavior? We repeatedly mistake `thumb` for `image` and visa versa, meaning the wrong images are used for Open Graph and in-site thumbnails on blog posts. Events and case studies use the same naming convention too. ## What is the new behavior? These two bits of frontmatter are renamed for clarity: - Blog posts: `imgThumb` + `imgSocial` That mapping for blog posts: - `thumb` is now `imgThumb` - `image` is now `imgSocial` These related bits remain as-is: - Events - Case studies The [www/README.md](https://github.com/supabase/supabase/blob/dnywh/chore/blog-image-frontmatter/apps/www/README.md#best-practices) file has been expanded to clarify all of the above. It now also provides instructions on image optimisation. ## To test A lot of files were touched here. Please help make sure: - [ ] The CMS works as intended. This is the **biggest unknown**. - [x] All blog posts render the correct image as their on-site thumbnail and Open Graph image. You can test the latter by firing up a draft iMessage. Online Open Graph services like Facebook cache images, so aren’t reliable. - [x] All events render their correct images - [x] All case studies render their correct images - [x] All customer stories render their correct images ([known issue](https://supabase.slack.com/archives/C072FL5KKKP/p1768888063209359?thread_ts=1768885681.502169&cid=C072FL5KKKP), predates this work)
60 lines
4.2 KiB
Plaintext
60 lines
4.2 KiB
Plaintext
---
|
||
title: HappyTeams unlocks better performance and reduces cost with Supabase
|
||
description: How a bootstrapped startup migrated from Heroku to Supabase in 30 minutes and never looked back
|
||
author: rory_wilding
|
||
imgSocial: 2023-02-16-case-study-happyteams/case-study-happyteams.jpg
|
||
imgThumb: 2023-02-16-case-study-happyteams/case-study-happyteams.jpg
|
||
categories:
|
||
- product
|
||
tags:
|
||
date: '2023-02-16'
|
||
toc_depth: 3
|
||
---
|
||
|
||
## The Challenge
|
||
|
||
> Finding a painless and hands-free database experience to support growth
|
||
|
||
[HappyTeams](https://happyteams.io/) is a growing startup with an ambitious vision. The company is bootstrapped, so technical resources are scarce. Devs need to do more with less. This means staying laser-focused on delivering features, rather than database timeouts or performance issues.
|
||
|
||
The company launched its app on Heroku Postgres. But one year in, they were experiencing scaling issues. They needed to handle thousands of users while also shipping new features and building out integrations. Issues with database slowness and concurrent connections were holding them back.
|
||
|
||
Michael Dever, the founder and CTO of HappyTeams, realized it was time for a change. A large overhaul of the app in early 2022 presented the opportunity to do so: "When you're in that first sprint of building a product, you're kind of locked with that first database decision you make. When we did a rebuild, it was time to look at something like Supabase."
|
||
|
||

|
||
|
||
## Why Supabase?
|
||
|
||
There were four main factors that led HappyTeams to switch from Heroku Postgres to Supabase:
|
||
|
||
1. **Better performance**. The team was experiencing uneven performance with Heroku, which was sluggish at times. Supabase was consistently fast.
|
||
|
||
2. **Enabling a large number of direct connections and connection pooling with PgBouncer**. HappyTeams was constantly hitting limits on the number of database connections. They could solve this problem with Supabase's [flexible plans](https://supabase.com/pricing) and [support for PgBouncer](https://supabase.com/blog/supabase-pgbouncer).
|
||
|
||
3. **Quality of support, documentation, and onboarding**: While Heroku provided no support at the tier they were on, the Supabase team was readily available: "Responses were powerful and they answered all my questions, even on a Sunday. That just further sold the product for me." He was also impressed with the [documentation](https://supabase.com/docs) on the Supabase website and the onboarding process.
|
||
|
||
4. **Lower costs**. Moving to Supabase reduced HappyTeams's costs: The base plan comes with everything they need to scale the product.
|
||
|
||
<Quote img="michael-dever-happyteams.jpeg" caption="Michael Dever - CTO of HappyTeams">
|
||
Great documentation, great product, great pricing. It sells itself, really.
|
||
</Quote>
|
||
|
||
## Supabase provides a fast and reliable production database
|
||
|
||
After a 30 minute migration, HappyTeams can iterate quickly, add new features, and improve their product based on customer feedback
|
||
|
||
Once they made the decision, migrating from Heroku to Supabase was simple. HappyTeams completed their database migration in less than an hour using pg_dump and pg_restore.
|
||
|
||
Performance is no longer an issue. "Supabase just worked", says Michael. Pooling connections using PgBouncer was effortless - solving a recurring pain point for HappyTeams.
|
||
|
||
"Supabase is so fast. Way, way, way faster than our Heroku Postgres database, which I think was located in the same region."
|
||
|
||
Today, Supabase is an integral part of HappyTeams's tech stack. It has allowed the company to move fast and rapidly release new features - with minimal tech resources devoted to their backend infrastructure.
|
||
|
||
Thanks to Supabase's ease of use and reliability, HappyTeams can iterate quickly based on feature requests and deliver more value to their user base. They are planning to expand their usage, exploring functionality such as [Edge Functions](https://supabase.com/edge-functions) and the [API client](https://supabase.com/docs/guides/api).
|
||
|
||
<Quote img="michael-dever-happyteams.jpeg" caption="Michael Dever - CTO of HappyTeams">
|
||
When we needed to add a comments feature to our app, we could get it done in just two days.
|
||
Supabase is really like a dream come true for a developer.
|
||
</Quote>
|