RPS
Requests per second (RPS) measures how often requests reach or complete at a system. If an API receives 600 requests in a minute, its average incoming rate is 10 RPS.
Also known as: requests per second, нагрузка, QPS
What does the number count?
A dashboard that says “500 RPS” leaves out an important detail: where are those requests being counted? At the gateway, the number might describe incoming traffic. At an application server, it might count completed requests. If 500 requests per second arrive and only 400 per second complete, the difference can show up as a growing queue unless requests are dropped or rejected. Check success and error rates alongside completion rate: a server sending fast error responses can still report high RPS.
Measuring request rate
Take the number of requests observed during a time window and divide by the window length in seconds. If a request counter goes up by 18,000 over 60 seconds, the average is 300 RPS. That average can hide a burst that overloads the service for a few seconds. Shorter windows reveal bursts; longer windows make trends easier to see. When building a fleet-wide metric, add rates from replicas that handle separate requests, not from a proxy and its backend that both count the same traffic.
Worked example: API traffic vs. database traffic
Suppose a catalog API receives 900 RPS and serves 80% of requests from cache. The remaining 180 requests per second each issue two SQL queries, so this endpoint generates about 360 queries per second at the database, assuming no retries. The API rate is still 900 RPS. Some teams use QPS (queries per second) as another name for RPS, but in this example the units count different events. Retries can also raise measured request rates without any increase in user activity.
What RPS can and can't tell you
Engineers use request rates to set traffic limits, size a deployment, and define load-test targets. But a rate on its own is not a capacity claim. A service may sustain 2,000 RPS for cached reads and struggle with a fraction of that rate for writes. To make a useful capacity claim, specify the workload mix, the latency target (often a percentile such as p95), and the acceptable error rate. Check that the system can sustain the rate without steadily building a backlog. Latency measures how long a request takes; RPS measures how frequently requests arrive or finish.
In a system design interview
Start with units. If users make 17.28 million requests per day, divide by 86,400 seconds to get 200 RPS on average. To size for busy periods, use observed traffic or state an explicit assumption, such as a peak rate four times the average. Treat the resulting 800 RPS as an estimate to validate, not a capacity measurement. Then follow the traffic downstream: a cache can reduce database traffic, while one API request that calls several services can increase internal traffic.