Grokzen / redis-py-cluster

Python cluster client for the official redis cluster. Redis 3.0+.
https://redis-py-cluster.readthedocs.io/
MIT License
1.1k stars 316 forks source link

is ClusterBlockingConnectionPool work in gevent? #519

Closed jiongHub closed 5 months ago

Grokzen commented 5 months ago

@jiongHub I don't know. You will have to test that out. In general for anything outside the default connectionpool that should be thread safe, i would assume they are not fully thread or event safe. You should always keep one cluster object per thread or keep a pool of cluster objects available to be used in order to ensure thread safety in your solution