当 Lua IPC 管道阻塞 OpenResty 或 Nginx 的事件循环
Redis Nginx ModuleYichun Zhang , 30 Sep 2013 (created 30 Sep 2013)
This is an Nginx upstream module that makes nginx talk to a redis 2.x
server in a non-blocking way. It has a similar interface with the standard ngx_memcached module,
but only Redis
SELECT commands are supported.
This module returns the decoded result from the Redis server.
This module is written by Sergey A. Osokin.
This module is enabled by default and can be disabled by passing the
./configure script for OpenResty.
Documentation wiki page: http://wiki.nginx.org/HttpRedisModule
When used in conjunction with LuaNginxModule, it is recommended to use LuaRestyRedisLibrary instead of this one, since it is more flexible and more memory-efficient.