redis-client pipeline implementation

Skip to first unread message

finalcode

unread,
Mar 2, 2022, 11:24:09 AM3/2/22
to Redis DB
Hi guys. I am trying to implement redis-client with node.js and I want to implement pipelining feature in my redis-client. How can I implement the pipelining feature in redis-client? How do I send multiple commands to a redis server?

Kunal Gangakhedkar

unread,
Mar 6, 2022, 2:40:51 AM3/6/22
to redi...@googlegroups.com
Assuming you are building your client lib from scratch:
You just build the commands in local buffer memory and send them to the redis server in one single write operation over the TCP socket.

More details:

- especially, the exec function.

Thanks,
Kunal


On Wed, 2 Mar 2022 at 21:54, finalcode <yasermahd...@gmail.com> wrote:
Hi guys. I am trying to implement redis-client with node.js and I want to implement pipelining feature in my redis-client. How can I implement the pipelining feature in redis-client? How do I send multiple commands to a redis server?

--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/redis-db/684f323f-e9d2-49ec-b3c2-fe0257c7ccb9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages