lua parser and redis2 questions

logar.damir nginx-forum at nginx.us
Mon Jun 6 15:16:05 MSD 2011


Agentzh, how about when using select
(http://www.redis.io/commands/select) to select specific database #.
Does pipelining work ok in this case?

My command at the moment is:
redis2_query select 2;
redis2_query evalsha $sha1keyvickrey 1 $val;
redis2_query select 0;
redis2_pass redisbackend;

Are this 3 redis2_query commands running on the same connection? If not,
could you maybe add another variable for database number. Simething
similar to HttpRedis that has $redis_db (The number of redis database)
which I think is broken (http://forum.nginx.org/read.php?2,203861).

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,203154,204264#msg-204264




More information about the nginx mailing list