Find the knee with a load test
Increase load in steps and record response time and error rate at each level. The point where the curve turns is where the bottleneck lives.
The test environment must resemble production, especially data volume and indexing, or the conclusions will mislead you.
Four common bottlenecks
The database connection pool is too small and requests queue; too large and the database collapses. Size it to what the database can actually serve.
Lock contention, from row locks, distributed locks or file locks, shows as slow responses with modest CPU.
Third-party calls to SMS, payment or maps hold the request open when they time out.
Stateful application design, with sessions or files stored locally, prevents running multiple instances.
Stateless before scaling out
Move sessions to Redis, files to object storage, and guard scheduled jobs with a distributed lock. Only then can the app run in parallel.
Without statelessness, adding servers adds problems rather than capacity.
FAQ
What counts as high concurrency?
There is no universal number. What matters is whether response time and error rate remain acceptable for your business.
Does adding servers fix everything?
No. Databases, third-party APIs and shared storage remain single points that do not speed up with more app servers.
Can caching solve concurrency?
It relieves read pressure but introduces consistency and cache-penetration risks that need their own design.
Related questions
Further reading
- System Redevelopment Service details
- Legacy system redevelopment handover checklist: five steps from inventory to launch
- What compliance checks are needed before AI-generated content goes live? A checklist to go through item by item
- Which scenarios are not suitable for enterprise AI transformation? Hold off on these types
- Should a Timed-Out API Call Be Retried
Sources & References
The following are public sources. Always check the latest requirements on the official authority or platform page.
