Pipelining
Pipeline & Transaction
Pipeline
Pipelining commands allows you to send a single http request with multiple commands. Keep in mind, that the execution of pipelines is not atomic and the execution of other commands can interleave.
For more information about pipelines using REST see here.
If you wish to benefit from pipeline automatically, you can simply enable auto-pipelining to make your redis client handle the commands in batches in the background. See the Auto-pipelining page.
Transaction
Remember that the pipeline is able to send multiple commands at once but can’t execute them atomically. With transactions, you can make the commands execute atomically.
Was this page helpful?