[sr-dev] [kamailio/kamailio] ndb_redis: add pipeline suppport for REDIS Module (#1079)

Paul Claudiu Boriga notifications at github.com
Thu Apr 20 08:58:56 CEST 2017


Hello, 

I have added pipeline support to the ndb_redis_module. Two functions are added: 
-redis_pipe_cmd which appends a command to be pipelined(syntax is identical with redis_cmd)
-redis_execute which sends one message with all existing pipelined commands and handles the replies

To send multiple commands in a single message, the user must call redis_pipe_cmd for each command, and then redis_execute to send all messages. 

This enhancement is not compatible with the recently added REDIS cluster support, so if that is enabled the new functions don't do anything but log an error. 

Thanks,
Claudiu Boriga
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1079

-- Commit Summary --

  * ndb_redis: add pipeline suppport for REDIS Module

-- File Changes --

    M src/modules/ndb_redis/doc/ndb_redis_admin.xml (87)
    M src/modules/ndb_redis/ndb_redis_mod.c (255)
    M src/modules/ndb_redis/redis_client.c (190)
    M src/modules/ndb_redis/redis_client.h (23)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/1079.patch
https://github.com/kamailio/kamailio/pull/1079.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1079
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20170419/ca0ad557/attachment.html>


More information about the sr-dev mailing list