1. The database is searching through everything
With 500 orders, searching was instant. With 500,000, the database may be reading every row to find one. Missing indexes are the single most common cause.
Home / Guides / Why my app is slow
Six common reasons apps slow down as they grow, how to tell which one is yours, and what to fix first, in plain words.
Long wait. Saving, emailing, building a PDF and calling AI all happen before the page responds.
The short answer
Early shortcuts stop working as data and users grow.
Slow queries, reports, waiting on heavy work, repeats, surges, chatty screens.
Most fixes need no rebuild once you know which one is yours.
Tap what you see. The most likely causes light up in the next section.
Pick what you notice. The matching causes light up below.
With 500 orders, searching was instant. With 500,000, the database may be reading every row to find one. Missing indexes are the single most common cause.
A manager opens a big report and suddenly checkout is slow for every customer. Heavy reports and live traffic should not compete.
Sending emails, generating PDFs, resizing images and calling AI models take time. If they happen while the user waits, every page feels slow.
If every visitor makes the server rebuild the same product page or course outline, it does the same work thousands of times.
In software used by many companies (SaaS), one big customer running an exam, a sale or a month-end report can slow everyone else down.
A single screen that makes 40 separate requests to the server, or 200 small database queries, feels slow on any network. This often shows up as the N+1 query problem.
Answer fast from saved data, send heavy work to a queue, and keep reports off the live database. Illustrative diagram.
TopGrade, an online learning platform serving several colleges, started on one server. Large timed exams sent a flood of answers in the same minute, and one college’s exam slowed down every other college.
Result: a busy exam at one college no longer slows the others. Read the TopGrade case study.
It is the most common first move and sometimes buys a few months. Find the cause first, then decide.
Rarely a scale problem. Usually a few slow queries, a missing index or work done while the user waits. Measure and fix those first.
Plan for the next 10x. Add monitoring now, move heavy work to queues, and keep reports off the live database before the first big customer arrives.
The classic shared-platform problem. Keep each customer’s data path and workload separate so a surge stays contained.
Show answers as they are produced, send less text, use a smaller model for easy tasks, and move anything not needed immediately to a background job. See our guide to fixing AI problems in a SaaS product.
Usually because of traffic spikes, such as sales, exams or month-end, or scheduled jobs like reports and backups running at busy hours. If slowness follows the clock or the calendar, look at what runs or arrives at those times.
Rarely. Most slowdowns come from how data and work flow through the system, such as missing database indexes, repeated work and heavy tasks done while the user waits. Those problems follow you into a new language.
If pages with lists, search or reports are slow but simple pages are fast, the database is the most likely cause. A slow-query log, which most databases can produce, will show the exact queries.
In most cases, yes. Indexes, caching and background queues can usually be added step by step while the app keeps running.
It depends on the cause. Quick wins like adding a missing index can take days. Separating reports or adding a queue often takes a few weeks. The right order depends on what a measurement shows, which is why we start there.
It depends on the cause and the size of the app, so we agree a written scope first. Finding the real cause usually costs far less than buying bigger servers, and it stops you paying for capacity you do not need.
Ask for the response time of your slowest important pages at busy hours, shown as the 95th percentile (p95). That means 95 out of 100 requests were faster than this time. Averages hide the slow ones your customers actually notice.
Take the free 30-question SaaS health checklist to see where the risk is, or request an Architecture Review. Rajesh replies personally within 2 business days.
Rajesh will review what you're building and reply personally within 2 business days.