aerospike-client-python
aerospike-client-python copied to clipboard
Support for min_conns_per_node
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?