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

what is the default size of the cluster pool? #9

Open
deamonwatcher opened this issue Sep 12, 2016 · 2 comments
Open

what is the default size of the cluster pool? #9

deamonwatcher opened this issue Sep 12, 2016 · 2 comments

Comments

@deamonwatcher
Copy link

what is the default size of the cluster pool? Can i change it ?

@wuxibin89
Copy link
Owner

A Cluster instance keeps a connection pool for each node. The maximum number of conns in each pool is controlled by KeepAlive in Options.
When the pool ran out, it always starts a new conn. After finishing a redis operation, if not reaching the maximum number, conn will be release to its node pool. Otherwise, it will be closed immediately.

@mjmanav4
Copy link

You mean new connection will be created when the pool size is reached, and closed immediately if number of connection is greater than the pool size and otherwise it will be kept alive if a new connection doesn't increase the pool size??

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

3 participants