I've been playing with salting my keys as well keys. My current experiments are 
around hashing the rowkey and using digits of that to create the prefix. That 
would make your salts and your puts idempotent, but you do loose control of 
data-locality.

-chris

On Feb 15, 2011, at 4:38 PM, Peter Haidinyak wrote:

> Hi All,
>  A couple of weeks ago I asked about how to distribute my rows across the 
> servers if the key always starts with the date in the format...
> 
> YYYY-MM-DD
> 
> I believe Stack, although I could be wrong, suggested pre-pending a 'X-' when 
> 'X' is a number from 1 to the number of servers I have. This way a scan can 
> be threaded out where there is one thread per server and each thread 'owns' 
> one 'X-' range of the keys. 
> My question is on the import side, should I have one thread per server and 
> round-robin each line of our log files to the threads for the 'put' to the 
> server? Does this buy me anymore throughput?
> 
> Thanks again.
> 
> -Pete
> 

Reply via email to