lua-resty-redis
lua-resty-redis copied to clipboard
Lua redis client driver for the ngx_lua based on the cosocket API
Most would simply look into the makefile and figure out, but I thinks its important to state it in README.md
There are no errors when there are fewer requests, and errors occur when there are many requests
``` function M.connect_to_redis () local redis = require "resty.redis" local red = redis:new() red:set_timeout(10000) local vcap_services = cjson.decode(os.getenv("ENV")) local redis_service_name = os.getenv("REDIS") local redis_credentials = vcap_services[redis_service_name][1].credentials; local redis_host = redis_credentials.host...
I don't understand the difference between: ```lua red:connect("unix:/path/to/unix.sock", { pool_size = 1000 }) ``` and this: ```lua red:set_keepalive(10000, 1000) ``` Both create a pool a 1000 reusable connections, am I...
Redis 6.0 add username as an optional parameters [https://redis.io/commands/auth](https://redis.io/commands/auth)
I'm struggling with this issue more than a week, and still cannot pull it off. I'm trying to provision our environment using Ansible, and I want to provision a staging...
redis:dbsize( { } ) TCP socket : not initialized
hello! do you know how to unserialize data in lua that be serialize by jackson be store in redis