resty-redis-cluster
resty-redis-cluster copied to clipboard
Openresty lua client for redis cluster.
I suspect that the `set_keepalive` method ought to be stubbed to do nothing -- and it certainly shouldn't get forwarded to the actual redis connection.
I want to query all the keys in the redis cluster, redis:scan (0, 'match', '*', 100) , but only the data of one node is found. How can I find...
redis连接参数: idletimeout=1 keepaliveTimeout=60000 keepaliveSize=300 connectionTimout=1000 maxRedirection=5 ab压测: ab -c 10 -n 50 无报错 ab -c 10 -n 100 产生下面报错: `2019/08/26 19:16:13 [error] 60698#5338817: *962 [lua] rediscluster.lua:168: init_slots(): failed to acquire...
function _M.access(self) local host = ngx.var.host local session_cookie = self:session_cookie(host) local session_id, err = session_cookie:get() local sso_session_store = self:get_sso_session_store() local server_list = self.config.redis.nodes local password = self.config.redis.password local config =...
also fixes luacheck warnings Last successful run @ https://travis-ci.com/github/vinayakhulawale/resty-redis-cluster/builds/182868752
@steve0511 - current code uses cameCasing for most of the variables and function names. Most of the openresty/lua projects are using snake_case. If you are ok, I can submit PR...
Hello, I see we using set_timeout() for resty-redis-cluster. However, in lua-resty-redis 'https://github.com/openresty/lua-resty-redis#set_timeout', It suggests that we use set_timeouts. Could you tell me your think? Thanks.
I couldn't find `resty-redis-cluster` library in a [central LuaRocks repo](https://luarocks.org/), is there a reason why it is not uploaded yet?
in the read me file, you set 【lua_shared_dict redis_cluster_slot_locks 100k;】,but how do i hnow 100k is enough,can i enlarge it?How do i to assess the redis_cluster_slot_locks size? 在readme的文件里面设置了【lua_shared_dict redis_cluster_slot_locks 100k;】大小为100k,我不确定这个大小是否足够,我是否能扩大它?我怎么评估它的大小?