Slow initial requests

Just to check I updated Couchbase java client to 2.2.1 to see if there was a performance improvement, then I realized this message:

DNS Reverse Lookup of 192.168.0.10 is slow, took 4512ms

so there’s 4.5 seconds I know I’m wasting, but I don’t understand why since I’m not resolving any hostname, I’m using IP (as String) as you can see on the above code. Any hints of what can I change to speed up the DNS lookup or force IP connection? That would leave the issue under ~5s and I’m sure I can disable things in the cluster environment to push that number even lower.

:slight_smile: as always thx in advance.

EDIT Ohhh my… sorry for the duplicated question, I’ve just seen this JavaClient 2.x connection`s warning, but still I’m looking for the environment tuning part.*