Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to share limit information among nodes? #37

Open
leandromoreira opened this issue Aug 27, 2018 · 1 comment
Open

How to share limit information among nodes? #37

leandromoreira opened this issue Aug 27, 2018 · 1 comment

Comments

@leandromoreira
Copy link

leandromoreira commented Aug 27, 2018

I noticed that the lua-resty-limit-traffic uses the shared dict struct to store the data and I couldn't find any part of the documentation that deals with multiple nodes case, where a set of nodes should enforce a global traffic limit.

A stateful system is always something to be avoided but sometimes we just can't, is this library ready to use with a distributed in memory storage (like redis)? if it's not, can I try to do it and make a PR?

@Globegitter
Copy link

Was just looking into exactly the same thing and could only find: https://github.com/timebug/lua-resty-redis-ratelimit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants