You have to use the same function if you want to do streaming i/o for repair and node movement instead of random.
On Thu, Feb 14, 2013 at 7:48 AM, Radim Kolar <h...@filez.com> wrote: > Dne 13.2.2013 16:32, Jonathan Ellis napsal(a): > >> The only point here that would make a difference in practice is >> leveldb using a worse hash function. For us it's not worth making >> partitioning worse to make compaction better. > > then use two hash functions. one for spliting rows to nodes and second for > index inside leveldb. > > too much compactions is major problem of leveldb implementation in > cassandra. Cassandra implements initial leveldb design ignoring improvements > in about last 2 years in leveldb. You can try it yourself by benchmarking > original and current leveldb. -- Jonathan Ellis Project Chair, Apache Cassandra co-founder, http://www.datastax.com @spyced