News for hackers. Stuff that matters.
Re:Cap'n Proto 1.0 by ackfoobar on Friday July 28, 2023 @01:05PM (#36909918)
Does the pipelining in Redis allow you to have the second command depend on the result of the first command?
Re:Cap'n Proto 1.0 by byroot on Friday July 28, 2023 @01:27PM (#36910241)
No, but for that use case you have EVAL which execute an arbitrary lua script on the server.

https://redis.io/commands/eval/

Re:Cap'n Proto 1.0 by jauntywundrkind on Friday July 28, 2023 @01:33PM (#36910318)
That assumes you know & can generate the complete pipeline ahead of time. The elegance of promise pipelining is that your pipeline can also be asynchronously grown.