How many commands can a redis-py pipeline have?

I want to use the pipeline to reduce the number of interactions between my program and the redis server.
I can install many commands in the pipeline, but I could not find a single document describing the maximum number of commands that could be installed in the pipeline.

Is there any advice? Thanks in advance.

+4
source share
1 answer

I’m not sure that there is a maximum, but I don’t think that you want to achieve it if there is one.

100-1000 . , , . , , Redis , , .

, Redis.

, Redis. , .

redis-benchmark memtier_benchmark. memtier_benchmark.

, redis-py .

+5

All Articles