Currently I am using Aerospike in my application. I faced lots of timeout issues as shown below when I was creating new java client for each transaction and I was not closing it so number of connection ramp up dramatically.
Aerospike Error: Client timeout: timeout=0 iterations=3 failedNodes=3 failedConns=0
so to resolve this timeout issue,I didn’t made any changes to client, read and write policy, I just created only one client, stored it’s instance in some variable and used this same client for all transaction (get or put requests). now I want to understand how moving from multiple client to one client resolved my timeout issue. how these connection were not closing automatically.