OpenResty® Scalable Web Platform by Extending NGINX with Lua

OpenResty XRay

Advanced observability built for OpenResty and more

×

limited time offer

Request TRIAL today and receive a diagnostic REPORT
Learn more
New! OpenResty 1.25.3.1 is now released!
New! OpenResty 1.21.4.3 is now released!
New! New blog post Introduction to OpenResty XRay Mobile Apps is published.
New! New blog post How to Use Gateway Partitions in OpenResty Edge is published.
New! New blog post Use C++ to Dynamic-Trace C++ Applications is published.

Redis2 Nginx Module

Yichun Zhang , 17 Oct 2013 (created 21 Jun 2011)

This is an Nginx upstream module that makes nginx talk to a redis 2.x server in a non-blocking way. The full Redis 2.0 unified protocol has been implemented including the redis pipelining support.

This module returns the raw TCP response from the Redis server.

This module is enabled by default and can be disabled by passing the --without-http_redis2_module option to the ./configure script for OpenResty.

Documentation wiki page: https://github.com/agentzh/redis2-nginx-module#readme

Project page: https://github.com/agentzh/redis2-nginx-module

When used in conjunction with LuaNginxModule, it is recommended to use LuaRestyRedisLibrary module instead of this one, since it is more flexible and more memory-efficient.