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
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to