On Mon, Mar 26, 2012 at 5:28 PM, Александр Решетников <saniek1@yandex.ru> wrote:
>
> Sorry.
> If you answer me I would be very grateful.
> Is there a module able to get data from a redis into a variable for
> further processing.
> Something like that:
>
> $arg = redis2_query get test; //how to push it into $arg
>
You can use ngx_lua's location capture API to capture the responses
from ngx_redis or ngx_redis2, which is the recommended way:
http://wiki.nginx.org/HttpLuaModule#ngx.location.capture
Alternatively, you can try my fork of ngx_eval module, but this is not
recommended for production use:
https://github.com/agentzh/nginx-eval-module
Best,
-agentzh
P.S. I've cc'd the opernesty mailing group so that other users can see
our discussion here.