I’m not as familiar with the Java benchmark, but it sounds like you’re comparing a performance test using 10 keys vs 1000000 keys. There are a few problems with using such a small number of keys;
- While a record is being operated on, a lock is placed on the record. This means two updates can’t go to the same record at the same time. This limits the write throughput.
- If reading the same records a lot of times, you are not spreading the load out at all.
- This is likely causing hotkey contention: Hot Key error code 14
Is there a particular use case where you expect to only be using 10 records?