Open duke-cliff opened 3 years ago
@Grokzen I just updated this PR with these changes: 1) make gevent optional(default: False) 2) make max_redirects configurable(default: 5) 3) make the pipeline smarter to decide whether to use replica node based on if the command is READ_ONLY
@duke-cliff I will take these changes out for a test spin and come back to you. It looks good now :)
Hi, I'm curious about the status of this PR, I think we could definitely benefit from some of these changes so we'd love to see it (or some subset of it) merged.
I have added the following optimizations, so far we tested the cluster-mode and the result is very stable and much faster than before. Also, the redis load is dropped significantly as well.
Let me know if you are comfortable with the gevent change, it's good to have but might not be too important to other users also it might not work properly on some platforms.