You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our token bucket algo is currently getting data from the redis cache and doing computations server side. 'Redis Functions' allow the redis store to carry out computations on the redis's side, which possibly decreases the number of requests made to speed up the algorithm. Try this out to see if it actually has any performance differences.
The text was updated successfully, but these errors were encountered:
Consider either SortedSet or List for use in SlidingWindowLog. Will most likely require a lua script to be purely server side.
Hashes may be useful for remaining limiters and may not require a lua script
evanmcneely
changed the title
Use redis functions to do cache side computations of token bucket totals, etc.
Experiment with redis functions to do cache side computations of ratelimiting computations
Aug 6, 2022
Our token bucket algo is currently getting data from the redis cache and doing computations server side. 'Redis Functions' allow the redis store to carry out computations on the redis's side, which possibly decreases the number of requests made to speed up the algorithm. Try this out to see if it actually has any performance differences.
The text was updated successfully, but these errors were encountered: