liangwangkai
liangwangkai
> You can try this. @liangwangkai > > -- redis_conn.lua > > local redis_cluster = require("rediscluster") > local redis_config = require("redis_config") > local redis_conn = redis_cluster:new(redis_config) > return redis_conn >...
> > > You can try this. @liangwangkai > > > -- redis_conn.lua > > > local redis_cluster = require("rediscluster") > > > local redis_config = require("redis_config") > > >...
> > > You can try this. @liangwangkai > > > -- redis_conn.lua > > > local redis_cluster = require("rediscluster") > > > local redis_config = require("redis_config") > > >...
> You can try lua_code_cache off; -> lua_code_cache on; oh!the problem is solved after lua_code_cache on. thanks
> 当我用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...