incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chen Xinli <chen.d...@gmail.com>
Subject Re: Read before Write
Date Fri, 27 Aug 2010 14:44:03 GMT
I think Just writing all the time is much better, as most of replacements
will be done in memtable.

also you should set a large memtable size, in compared with the average row
size.


2010/8/27 Daniel Doubleday <daniel.doubleday@gmx.net>

> Hi people
>
> I was wondering if anyone already benchmarked such a situation:
>
> I have:
>
> day of year (row key) -> SomeId (column key) -> byte[0]
>
> I need to make sure that I write SomeId, but in around 80% of the cases it
> will be already present (so I would essentially replace it with itself). RF
> will be 2.
>
> So should I rather just write all the time (given that cassandra is so fast
> on write) or should I read and write only if not present?
>
> Cheers,
> Daniel




-- 
Best Regards,
Chen Xinli

Mime
View raw message