Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there ever a need for multiple Cluster instances? #1845

Open
hulkish opened this issue Dec 28, 2023 · 1 comment
Open

Is there ever a need for multiple Cluster instances? #1845

hulkish opened this issue Dec 28, 2023 · 1 comment

Comments

@hulkish
Copy link

hulkish commented Dec 28, 2023

Hello, I am reviewing some code at new job involving usage of new require('ioredis').Cluster() - and am noticing that previous author has created several instances of this in the same application runtime.. but per my knowledge there should only ever be a need for a single instance... correct?

@luin
Copy link
Collaborator

luin commented Jan 7, 2024

A single instance should be enough in a typical web application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants