Kinetic / kinetic-protocol

34 stars 21 forks source link

Ability To Get Key Counts #29

Open mattbauer opened 9 years ago

mattbauer commented 9 years ago

It would be nice to get just key counts and/or just the keys for a range request. This could be done using the existing Range message with the addition of a countOnly and optional count property. When countOnly is set to 1, the response message would set countOnly to 1 and the appropriate value in count.

The motivation for this is for quick validity checking, key distribution balancing and P2P progress checking.