Hi,
I am doing benchmarking (my own scripts) using map as data structure. I am storing map with 10 keys inside a bin. I am observing high latency for it (1.2% is greater than 1ms). Following are details about benchmarking set-up
- replica factor = no
- Using no persistence
- Aerospike has 1 Million keys.
Latency Observed are 1ms: 98.8, 2ms: 0.3 , 3ms: 0.17, rest: 0.73
While running custom benchmark, latency was observed to under 1 ms for 100% requests.
Code to generate bin with map is
HashMap<String,String> map = new HashMap<String,String>();
for (int index = 0; index < totalBins; index++) {
map.put("key" + index, "value" + index);
}
return new Bin[]{new Bin(binName, map)};
Can someone tell if this is expected or we can have latency under 1 ms for 100% of requests for map as data structure?