response-rate-limiting - "window" explained?

Tony Finch dot at dotat.at
Mon Mar 27 09:33:55 UTC 2017


Tom <tomtux007 at gmail.com> wrote:

> Can someone explain the behaviour of "window" in the rate-limit-context?

It basically determines the time after a client that was querying very
fast but then stopped is allowed to receive responses again.

When a client repeats a query, its counter is decremented until it reaches
the minimum `-1 * window * responses-per-second`. Its counter is
incremented by `responses-per-second` each second, so after the client
stops querying it will be `window` seconds before the counter becomes
positive which means the client is allowed to receive responses again.

Tony.
-- 
f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/  -  I xn--zr8h punycode
Irish Sea: East 4 or 5, decreasing 3 at times. Mainly slight. Fair. Good.


More information about the bind-users mailing list