Skip to content

Node-redis v4 and node-redis v5 diffrences #2769

Closed Answered by SeyyedKhandon
SeyyedKhandon asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately for working with clusters, node-redis (createCluster) doesn’t provide the basic functionalities which it has on createClient such as status of the connection, flushall etc. which makes it very hard to work, in addition to that it comes with wiered errors that are no documented on the site or somewhere else, and the worst part is the type system which does not work properly for it.

Therefore I am going back to ioredis, I hope that ClusterAllFailedError: Failed to refresh slots cache. in ioredis gets fixed

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@leibale
Comment options

@SeyyedKhandon
Comment options

Answer selected by SeyyedKhandon
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