OpenResty® 通过 Lua 扩展 NGINX 实现的可伸缩的 Web 平台

OpenResty XRay

Advanced observability built for OpenResty and more

×

limited time offer

Request TRIAL today and receive a diagnostic REPORT
Learn more
最新! OpenResty 1.25.3.1 已发布。
最新! OpenResty 1.21.4.3 已发布。
最新! 新博客文章 使用 C++ 动态追踪 C++ 应用 已发表。
最新! 新博客文章 自动分析 Core Dump(使用 OpenResty XRay) 已发表。

Redis Nginx Module

Yichun 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 GET and 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 --without-http_redis_module option to 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.