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?
I noticed that the
lua-resty-limit-traffic
uses theshared 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?