Peformance Aeropsike Vs Redis

Hello, when running aerospike as a service with config on centos 6 CPU: 4 Core: 4 We are getting following TPS of 1lakh running the client tool in the same box

[shikhil.g@staging1 benchmarks]$  ./target/benchmarks -w I -a -W 2
hosts:                  127.0.0.1
port:                   3000
user:                   (null)
namespace:              test
set:                    testset
startKey:               1
keys/records:           1000000
bins:                   1
object spec:            int
random values:          false
workload:               initialize 100% of records
threads:                16
max throughput:         unlimited
read timeout:           0 ms
write timeout:          0 ms
max retries:            1
debug:                  false
latency:                false
shared memory:          false
read replica:           sequence
read mode AP:           one
read mode SC:           session
write commit level:     all
conn pools per node:    1
asynchronous mode:      on
async max commands:     50
event loops:            2
auth mode:              INTERNAL
2019-06-06 11:27:04 INFO Add node BB90C37131CB190 127.0.0.1:3000
2019-06-06 11:27:04 INFO Initialize 1000000 records
2019-06-06 11:27:05 INFO write(tps=121565 timeouts=0 errors=0 total=121687)
2019-06-06 11:27:06 INFO write(tps=130657 timeouts=0 errors=0 total=252344)
2019-06-06 11:27:07 INFO write(tps=128309 timeouts=0 errors=0 total=380653)
2019-06-06 11:27:08 INFO write(tps=121333 timeouts=0 errors=0 total=501986)
2019-06-06 11:27:09 INFO write(tps=127391 timeouts=0 errors=0 total=629377)
2019-06-06 11:27:10 INFO write(tps=125328 timeouts=0 errors=0 total=754705)
2019-06-06 11:27:11 INFO write(tps=121876 timeouts=0 errors=0 total=876581)
2019-06-06 11:27:12 INFO write(tps=123419 timeouts=0 errors=0 total=1000000)

But when I am running aerospike in open shift container and running client from another machine, i am getting 35k TPS only.

Aerospike config is same for both env.

Can anybody suggest me? what network level setting we have to tune? or something wrong here.

@dileepraotv @lucien

How many network interfaces and IP addresses are in use in the container? In certain environments , it may be necessary to configure access-address to publish the correct IP address to the clients.