Skip to content

Growing your product

Learn what to watch as more people use your product, how to spot the first limit or slow page, and what it costs to fix.

Do I need to worry about scaling my product yet?

Probably not. A new product has a handful of people, and free plans cover far more than that. Building for millions early costs time and makes your code harder to change. Watch your errors and usage, then fix the first thing that’s really slow or close to a limit.

If you haven’t put your product online yet
Put it online and get people using it. Growing pains show up in your dashboards well before people feel them.
If a post or an announcement might bring a rush of visitors
Open each service’s usage page the day before, to see how close you are to a limit.
If pages already feel slow, or a service emailed you about a limit
Start with “What breaks first when more people use my product?”, then read the fix for what you found.

What breaks first when more people use my product?

Usually a free-plan limit, then a slow database query, then a rate limit. Each shows up as an error, a slow page or an email from the service.

Free-plan limits
Each service counts what you use. Cloudflare Workers Free allows 100,000 requests a day, then can answer with error 1027 until the count resets. Supabase Free averages your database’s size over the month. Past 500 MB, it can turn requests away until you upgrade, or shrink it and wait for the next billing month.
Slow database queries
A search that read every row was quick with 100 rows and is slow with 100,000. An index fixes most of these. Databases
Rate limits
Services cap how many requests one person or product can send in a while, and turn the rest away. Sign-in emails often hit one first. Sign-in
Slow work inside a request
Hosts stop a request that works too long, so a slow job like sending 500 emails can fail halfway. Move it to a background job.

Words: Request, Query, Rate limit

How do I see errors and usage before people complain?

Look in three places: your host’s logs for errors, each service’s usage page for limits, and an error tracker that emails you when something breaks. Check them once a week while your product is new.

If you host on Vercel
Runtime logs are kept for 1 hour on Hobby and 1 day on Pro without Observability Plus, so look soon after something breaks.
If you use Supabase
Its usage page shows how each project is tracking against your plan’s limits.
If you want an email when something breaks
Add an error tracker, such as Sentry. Its free Developer plan covers one person and 5,000 errors a month. Ask your AI tool to set it up.

Words: Log

How do caching and a CDN make my product faster?

A cache keeps a copy of an answer, so the next person gets it without asking your server again. A CDN is a group of servers around the world that keeps those copies close to each visitor. Fewer requests reach your server and database, so pages load faster and cost less.

If your pages are the same for everyone, like a blog or a menu
They can come straight from a CDN. Ask your AI tool whether your host already puts one in front of your site.
If a page shows someone’s own things, like their orders
Keep it out of shared caches, or one person could see another’s page. Ask your AI tool to mark those answers private.
If you changed something and people still see the old version
A cache is still handing out its copy until it expires. Ask your AI tool how long your pages are cached, and how to clear it after a change.

Words: Cache, CDN, Server

Why do database queries get slow, and how does an index help?

Without an index, the database reads every row to find the ones you asked for. An index works like the one at the back of a book: it jumps straight to the matching rows. It speeds up reading but adds a little work to every save, so add one for the searches your product really runs.

If you use Supabase
Open Query Performance in the dashboard and click a slow query. Select the Indexes tab and turn on Index Advisor to see the indexes it suggests.
If you’d rather your AI tool did it
Tell it which page is slow. Ask it to find the query that page runs and add an index for it.
If your table is still small
The database may skip the index, because reading a few rows is already quick. It starts using it as the table grows.

Words: Database index, Database

What are background jobs, and when do I need one?

A background job is work your product does after it answers, or on a timer, so nobody waits for it. Use one for slow work like sending a batch of emails, resizing photos or a nightly cleanup.

If something should run every day or every hour
Run it on a schedule, often called a cron job. Vercel Cron Jobs on Hobby run at most once a day, at some point in the hour you pick. Supabase Cron can run as often as every second.
If lots of tasks pile up at once, like welcome emails after a rush of sign-ups
Put them in a queue and work through them in turn. Supabase Queues keeps each task in your database until it’s done.
If you’re not sure anything needs one
Ask your AI tool which of your requests do slow work, and whether any should move to a background job.

Words: Background job

Which growth fixes should I do now, and which can wait?

Do the cheap safety steps now. Fix the rest when a page is really slow or a limit is close.

If real people are about to use it
Add an error tracker, set a spending limit on anything that charges by use, and connect your own email service for sign-in emails.
If a usage page shows you’re close to a limit
Move that one service to a paid plan, or cut what uses it most.

Words: Spending limit

What does extra use cost on a paid plan?

A small fee for each unit past what the plan includes, on top of the plan’s monthly price. You pay nothing extra until one service passes its free plan.

If your Supabase database outgrows Pro’s space
Pro includes 8 GB of disk per project, then $0.125 per extra GB a month. Data sent out past 250 GB a month costs $0.09 per GB.
If your Supabase database needs more power, not more space
Pick a bigger computer for it. Pro’s credits cover the smallest, Micro, at $10 a month. Small is $15 a month and Medium is $60.
If your server code runs a lot on Vercel
Hobby includes 1 million runs a month. On Pro, runs cost from $0.60 per million, taken first from the $20 of usage Pro includes.
If your Cloudflare Worker passes 10 million requests a month
Workers Paid charges $0.30 per extra million. Requests for plain files, like images, are free.
If you need more than 5,000 errors a month tracked, or a team
Sentry’s Team plan starts at $26 a month, billed yearly.
Monthly totals
What a small product costs each month at three sizes. Costs

Questions people ask

Updated Sources: MDN: HTTP caching, MDN: 429 Too Many Requests, Cloudflare: What is a CDN?, Cloudflare Workers pricing, Cloudflare Workers limits, Supabase pricing, Supabase: About billing, Supabase: Database size, Supabase: Indexes, Supabase Auth rate limits, Supabase Cron, Supabase Queues, Vercel pricing, Vercel Cron Jobs: usage and pricing, Sentry pricing.