Closed Bug 1299855 Opened 8 years ago Closed 7 years ago

Implement token-bucket rate limiting on top of memcached

Categories

(bugzilla.mozilla.org :: General, defect, P3)

Production
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: dylan, Assigned: dylan)

References

Details

Attachments

(1 file)

It would be nice to rate limit things on BMO from the code side. It's desirable to do this using memcached (doesn't add load to the db) and a token bucket seems like the right algorithm for this.
Attachment #8787282 - Flags: feedback?(dkl)
Priority: -- → P3
Depends on: 1308032
Attachment #8787282 - Attachment description: should_rate_limit() function for discussion → should_rate_limit() for review
Attachment #8787282 - Flags: feedback?(dkl) → review?(dkl)
Comment on attachment 8787282 [details] [review]
should_rate_limit() for review

Looks good and works as expected.r=dkl
Attachment #8787282 - Flags: review?(dkl) → review+
To git@github.com:mozilla-bteam/bmo.git
   52d2e6ff0..1a5dacd60  master -> master
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: