Aerospike Java Client taking n 2 seconds to create a connection

Hello ,

I am facing issue to connect Aerospike server from java Aerospike client . it is taking more than 2 seconds . Followings are the code - AerospikeClient client = new AerospikeClient(“”, 3000);

I need to insert and select data for a large scale . Kindly help .