Score:0

Requests beyond the rate are added to the zone or to the queue?

in flag
http {
    #...

    limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s;

    server {
        #...

        location /search/ {
            limit_req zone=one burst=5;
        }
    }
}

With this configuration, if request rate exceeds 1 request per second, requests beyond the rate will be put into the zone one. When the zone is full, excessive requests will be queued (burst), the size of this queue is 5 requests. Request processing in the queue is delayed in such a way that the overall rate is not greater than specified. Requests above the burst limit will be rejected with the 503 error.

Link: https://docs.nginx.com/nginx/admin-guide/security-controls/controlling-access-proxied-http/

My understanding is that - if request rate exceeds 1 request per second, requests beyond the rate will be put into the queue. Where as the above quote from the link says that "if request rate exceeds 1 request per second, requests beyond the rate will be put into the zone one". Is the above quote from the link correct?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.