Once the data is stored, how do you plan on querying it? If you want to scan 
for certain periods of time, having the order of timestamps randomized is not 
ideal.

If you are planning to do only exact lookups for individual timestamps (which 
might be the case), I guess you can reverse the byte order of the timestamp 
given that the granularity of the times is fine enough.


Friso



On 10 jan 2011, at 16:33, Weishung Chung wrote:

> What is the good way to randomize the primary key which is a timestamp in
> HBase to avoid hotspotting?
> Thank you so much :)

Reply via email to