It worked with 10 users. Here is why it slows down at 1,000
Apps that feel instant in testing often crawl once real data piles up. Three common causes, and how to spot them before your users do.
During testing, your app felt fast. You had a handful of accounts and a few dozen rows of data. A few months after launch, pages take several seconds to load, and the dashboard sometimes times out. Nothing in the code changed. The amount of data did.
This is one of the most common problems in apps built quickly with AI tools, and the good news is that it rarely needs a rebuild. Most of the time it comes down to three things.
1. Loading everything at once
When you only have 20 orders, loading all of them on one page is fine. When you have 20,000, the database has to find them all, your server has to send them all, and the browser has to draw them all.
AI tools often write queries such as "get all orders for this account" without a limit, because that is the simplest code that works.
What to look for: lists, tables or feeds that have no pages or "load more" button, and that get slower as your account gets older.
The fix: add pagination, so each page loads 20 or 50 items at a time, and only fetch the columns you actually show.
2. Asking the database the same question many times
Imagine a page that shows 50 projects, each with its owner's name. A common pattern is to load the 50 projects, then make a separate request for each owner. That is 51 trips to the database instead of 1 or 2. Developers call this the "N+1" problem.
Each trip might take only a few milliseconds, but they add up quickly, and they get worse as the list grows.
What to look for: open your browser's developer tools, go to the Network tab and load a slow page. If you see dozens of near-identical requests fire one after another, this is likely the cause.
The fix: load related data in one request using a join or the "select related rows" feature most database tools provide.
3. No indexes on the columns you search
A database index works like the index at the back of a book. Without one, the database has to read every row to find the ones you asked for. That is quick with 100 rows and painfully slow with a million.
Tables created by AI tools often have no indexes beyond the primary key, even on columns the app filters by all the time, such as user_id, status or created_at.
What to look for: if you use Supabase, the dashboard includes query performance reports that show your slowest queries. Most hosted databases have something similar.
The fix: add indexes on the columns you filter and sort by most often. This is often a one-line change per column with an immediate effect.
Why this matters for your business
Slow apps lose people quietly. Users do not file a bug report saying "the dashboard took four seconds." They just use it less, and some leave. Slow pages also hurt how search engines rank your public pages, and larger database plans cost more than tuning a few queries.
The short version
- Speed problems that appear as you grow are usually about data, not about your framework or host.
- Check for unlimited lists, repeated requests and missing indexes before paying for a bigger server.
- These fixes are usually small and targeted. You do not need to rebuild to get fast again.
Finding the specific queries that slow your app down is part of our Performance Optimization work. Book an Audit and we will show you where the time is going.
Keep reading
Oct 22, 2026
Thinking of rebuilding your MVP from scratch? Read this first
A full rebuild feels like a clean start, but it usually costs more and fixes less than you expect. Here is how to decide, and what to do instead.
Strategy
Oct 8, 2026
Anyone can read your users' data: the Supabase setting most apps miss
Without row level security, the public Supabase key lets anyone read every row in your tables. Here is how to check and fix it.
Security
Oct 1, 2026
Your OpenAI key is visible to anyone. Here is how bots find it
API keys shipped in frontend code end up in the browser, where scrapers collect them within hours. Move them behind your server.
Secrets
One useful fix a month.
Field Notes in your inbox. No spam, unsubscribe anytime.