resty-redis-cluster
resty-redis-cluster copied to clipboard
Openresty lua client for redis cluster.
当我用ab进行压力测试的时候就会出现如下错误,不清楚问题出在哪里,是因为加锁的原因吗,应该怎么解决 ab -n 1000 -c 100 -k http://127.0.0.1:8002/product?id=15 下面是代码测试就会报错 local config = { name = "testCluster", --rediscluster name serv_list = {{ ip = "xx.xx.xx.xx", port = 6383 } }, keepalive_timeout...
hi: I have 10 redis clusters for storage. I sent 20billions datas to the 10 clusters with Performance Test tool. I found data distributed uniformity in the 10 clusters. does...
1.i note the Limitation say "Doesn't support transactions operations: MULTI DISCARD EXEC WATCH", so i use eval, but after a failed test and some studied of your SC, i found...
1. Fix weird case where redis connection returns MOVED response to the same node from which the data was fetched- closing the TCP socket resolves the issue. 2. Fix a...
There might be a bug in case that at some point in time redis is down and connection cannot be established. In method _fech_slots_ there is following line: `serv_list_combined =...
https://github.com/steve0511/resty-redis-cluster/blob/e080402bb29f7ab0d00dd81f1bdfb43037bd204a/lib/resty/rediscluster.lua#L142 Hello, when the slot is retrieved, the Redis cluster slots command returns a null value, for example: ```shell I have no name!@redis-cluster-2:/$ redis-cli -c 127.0.0.1:6379> CLUSTER SLOTS 1) 1)...
In fact , redis cluster supports to **eval MORE THAN ONE keys** **via {}** use `{}` around keys to use Redis Key hash tags. Thus. This check logic is not...
i found function `fetch_slots` between `lock` and `unlock` didn't operate on any shared resources, so may be the lock operation here was superfluous?