Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Is RedisCluster thread-safe? #452

Discussion options

You must be logged in to vote

@davidanthonygardner The best way to think of this is that if you have an example where you use the plain redis-py version and Redis class instance, this library is built to be a drop-in-replacement where you should just be able to replace Redis with RedisCluster and it should work out exactly the same with the same properties and features etc.

The whole point of having it threadsafe is really difficult to test and most of the time users have to test it out and find the issues in production. From my own experience, the only place where thread saftey issues have occured so far in this repo over time is around the connection pool and pipelines. So my suggestion is that you have to test and …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Grokzen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants