m-lab / mlab-ns-rate-limit

Rate limiting support for mlab-ns
Apache License 2.0
0 stars 0 forks source link

Add support for blacklisting 6-hour clients from mlab-ns #9

Closed stephen-soltesz closed 5 years ago

stephen-soltesz commented 5 years ago

This change adds a new query to the mlab-ns-rate-limit logic to identify 6-hour clients.

6-hour clients have the following signature:

To guarantee that clients issue requests in each 6-hour period, we calculate a 'period' total that should equal a unique sum if all four periods are present.


This change is Reviewable