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

Support for min_conns_per_node #271

Closed
dh-alt opened this issue Aug 9, 2021 · 2 comments
Closed

Support for min_conns_per_node #271

dh-alt opened this issue Aug 9, 2021 · 2 comments

Comments

@dh-alt
Copy link

dh-alt commented Aug 9, 2021

Establishing client connection to aerospike cluster is expensive and therefore I'm trying to ensure client keeps certain number of connections open so that incoming requests do not have to first establish connection. One way to achieve this is set min_conns_per_node to N (int) which requires Server proto-fd-idle-ms and client max_socket_idle to be set to zero. However when I try to set max_socket_idle to 0, I see Aerospike connection error enforcing max_socket_idle to be in the range 1 to 86400.

Is there a reason for not supporting it? Any other alternatives to keep the connections open?

@juliannguyen4
Copy link
Collaborator

Hi @dh-alt, I see that the C# client supports this option. I'll investigate this further.

@juliannguyen4
Copy link
Collaborator

Added in a recent release

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