During a sale, a shop expects many people to browse its catalogue. The sign-in page may need a tighter cap because each request can make the application look up an account. A July 2019 Peakhour release let teams give those two kinds of traffic their own rate-limit zones.

A zone is a named counter. Give the sign-in zone a threshold and time window, then attach it to the requests that should count. When the threshold is reached, Peakhour can stop excess requests before the site’s servers have to handle them. The catalogue can keep serving shoppers under its own policy.

Where the counts live

The processes on one Peakhour edge server use a shared counter service. Each edge server keeps its own counts. The dashboard’s Global setting applies a limit to the whole site’s traffic at an edge, alongside any narrower zones.

How zones became more useful

In 2021, zones gained per-site configuration and limits based on response errors. A shop could count errors from sign-in in one zone while separately tracking all sign-in requests.

Advanced Rate Limiting later added more ways to match and group requests. The rate-limit zones guide shows how to configure the current controls.

Release history