Listing keys is - in my experience - fast when you only have 100K
keys, try inserting 10 million and see if you get the same results.
I don't know how the Java client handles listing keys but I always
found doing a range query on the $key index to be faster than listing
keys.
Cheers,
Olav
2012/10
I hope someone could shed some light on this issue
Part of our dev code is using Java RiakClient like this
KeySource fetched = getRiakClient().listKeys(bucket);
while (fetched.hasNext()) {
result.add(fetched.next().toStringUtf8());
}
where getRiakClient() returns instance of com.basho.riak.p