"How many users can this server handle?" is one of the most common hosting questions, and the honest answer is "it depends on what they do". A thousand people reading a cached article generate a trickle of cheap requests; a hundred people running reports at once can saturate a large server. This guide gives you a way to estimate concurrency, the knobs that control it on an EPYC VPS, and a method to measure your real ceiling.
Users, Sessions, Requests and Connections
| Term | Meaning | What it costs the server |
|---|---|---|
| Active users | People using the app in a time window (for example, the last 5 minutes) | Little by itself |
| Sessions | Logged-in state stored somewhere | Memory or database rows |
| Concurrent requests | Requests being processed at the same moment | A worker, CPU time, memory, database connections |
| Open connections | Keep-alive or websocket connections, mostly idle | A file descriptor and a little memory each |
Capacity planning is about concurrent requests and open connections, not the user count on a dashboard.
Estimating Concurrent Requests
Little's Law gives a useful estimate:
concurrent requests ≈ requests per second × average response time (seconds)
Example: 1,000 active users, each making a request every 10 seconds, is 100 requests per second. If the average response takes 0.2 s, about 20 requests are in flight at once. If slow pages push the average to 2 s, that becomes 200 in flight, which needs ten times the workers and memory. Making responses faster is the most effective way to raise capacity.
Worker Models
| Model | Examples | Concurrency limited by |
|---|---|---|
| Process per request | PHP-FPM, Gunicorn sync workers | Number of worker processes (memory) |
| Threads | Puma, Java servlet containers, Gunicorn gthread | Thread pool size, memory, language locks |
| Event loop / async | Node.js, Nginx, Uvicorn, Go | CPU and downstream resources; handles many idle connections cheaply |
Process and thread models hold a worker for the whole request, including time spent waiting for the database or an external API. Async models release the worker while waiting, so they handle many slow or idle connections efficiently, but CPU-heavy code still blocks them.
Tuning Workers on an EPYC VPS
- PHP-FPM:
pm.max_children= memory for PHP ÷ average worker size. Check the status page's listen queue under load; a growing queue means requests wait for a worker. - Gunicorn/Uvicorn: start with 2–4 workers per vCore for sync workers, or 1 per vCore for async workers, and adjust with measurements.
- Node.js: one process per vCore with PM2 cluster mode or several services behind Nginx.
- Java: size the thread pool and the JVM heap together, leaving memory for the OS and database.
- Nginx:
worker_processes auto;and a highworker_connections; it is rarely the bottleneck.
Database Connections
Every worker that talks to the database needs a connection. With many workers, connections multiply quickly and the database spends memory and CPU managing them. Pool connections in the application, and for PostgreSQL consider PgBouncer in transaction mode. Keep max_connections moderate and fix slow queries: a query that holds a connection for a second blocks it for everyone else (see our database tuning guide).
Sessions and Shared State
Store sessions in Redis or the database rather than in process memory, so any worker can serve any user and restarts do not log everyone out (see our Redis guide). This is also the prerequisite for adding more servers later.
Websockets and Long-Lived Connections
Chat, live dashboards, multiplayer and notifications keep connections open for minutes or hours. Each connection is cheap in an event-driven server, but the numbers add up:
- Raise the file descriptor limit (
LimitNOFILE=65535in the systemd unit). - Configure Nginx to proxy upgrades:
proxy_http_version 1.1;withUpgradeandConnectionheaders, and a longproxy_read_timeout. - Send periodic pings so idle connections are not dropped by intermediaries.
- Measure memory per connection and multiply by your peak.
- Use Redis pub/sub or a message broker when you run several processes that must broadcast to each other's clients.
Caching Multiplies Capacity
Every request answered from a cache frees a worker almost instantly. Full-page caching for anonymous users, object caching for logged-in pages and HTTP caching for static assets often raise the concurrent-user capacity of the same server several times over (see our high-traffic guide).
Find Your Real Limit
- Write a k6 script that follows realistic user journeys with think time (see our k6 guide).
- Ramp virtual users in steps and hold each step for a few minutes.
- Record p95 latency and error rate at each step, and watch CPU, memory, worker queues and database connections on the server.
- The capacity is the last step where latency and errors meet your targets.
- Fix the first bottleneck you see and repeat.
Rough Sizing Guide
| Application | Typical starting point |
|---|---|
| Cached content site, hundreds of simultaneous readers | 2 vCores / 8 GB |
| Shop or community with a few hundred logged-in users at once | 4 vCores / 16 GB |
| SaaS or LMS with thousands of active users | 8 vCores / 32 GB |
| Real-time platform with many websocket connections and heavy queries | 16 vCores / 64 GB, then scale out |
These are starting points to test, not guarantees. Your queries, payload sizes and caching determine the real numbers.
Plan for Peaks, Not Averages
User activity clusters: a class starts, an email campaign lands, an exam opens. Look at your busiest five minutes, not the daily average, and size workers and memory for that. Where peaks are predictable, warm caches beforehand and pause heavy background jobs during the window. Queueing non-urgent work (emails, reports) smooths spikes so interactive requests keep their workers.
When One Server Is Not Enough
Once sessions are shared and uploads are stored centrally, you can run several application servers behind a load balancer and move the database to its own server (see our load balancing guide). Do this when the largest sensible plan is saturated after tuning, or when you need redundancy.
ServoMix Plans for This Workload
Concurrency is limited by memory per worker and by CPU per request. 2 vCores / 8 GB suits a few hundred active users of a typical cached site; dynamic apps with thousands of logged-in users need 8–16 vCores and 32–64 GB.
AMD EPYC 7C13 VPS
Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| SMX vPro XS (AMD EPYC) | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹420/mo | Websites, small APIs, bots, staging and VPN servers | Order |
| SMX vPro S (AMD EPYC) | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹560/mo | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| SMX vPro M (AMD EPYC) | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹840/mo | Production databases, high-traffic sites, multi-container apps | Order |
| SMX vPro L (AMD EPYC) | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹1,120/mo | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
Prices are monthly in INR as listed on the ServoMix store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.
Frequently Asked Questions
How many concurrent users can a VPS handle?
What is the difference between concurrent users and concurrent requests?
How do I increase concurrent capacity?
How many PHP-FPM workers should I run?
Are async servers better for many users?
Why do database connections matter?
How do I support thousands of websocket connections?
Where should sessions be stored?
How do I find my server's limit?
Which EPYC plan suits many concurrent users?
Related Guides
Frequently Asked Questions
How many concurrent users can a VPS handle?
It depends on how many requests they make and how long each takes. Estimate concurrent requests as requests per second times average response time, then load test your own application.
What is the difference between concurrent users and concurrent requests?
Users are people active in a period; concurrent requests are the requests being processed at one moment, which is what uses workers, CPU and memory.
How do I increase concurrent capacity?
Make responses faster with caching and efficient queries, run enough workers to use all vCores within your RAM, and pool database connections.
How many PHP-FPM workers should I run?
Divide the memory available for PHP by the average worker size measured under load, leaving room for the database and OS.
Are async servers better for many users?
For many idle or slow connections, such as websockets, yes. CPU-heavy work still needs enough cores whichever model you use.
Why do database connections matter?
Each worker needs one, and too many connections waste database memory. Pool them and keep queries fast so connections are freed quickly.
How do I support thousands of websocket connections?
Use an event-driven server, raise file descriptor limits, configure Nginx for upgrades with long timeouts, and measure memory per connection.
Where should sessions be stored?
In Redis or the database, so any worker or server can handle any user and restarts do not log users out.
How do I find my server's limit?
Ramp a realistic k6 load test in steps, watch latency, errors and server metrics, and note where your targets stop being met.
Which EPYC plan suits many concurrent users?
Start at 4 vCores / 16 GB for a few hundred logged-in users at once, and 8–16 vCores for thousands, confirmed by load testing.
Your feedback helps us continuously improve ServoMix guides.
Know someone who may find this guide useful?
