Re: [DISCUSSION] High-volume counters in Cassandra

2010-09-05 Thread Zhu Han
I thought about it again for a while. It might be a good trade-off to just implement the "CASSANDRA-1421" as a new API and limit the new code only in StorageProxy level, and never put any dependency on internal memchanism of Cassandra, e.g. compaction, membership management and other complicated

Re: [DISCUSSION] High-volume counters in Cassandra

2010-09-05 Thread Zhu Han
+ 1 for Jonathan Ellis. I might not be on the same page as you active community members. But I'm wondering why not put this feature to a popular client library or as a contrib package? In CASSANDRA-1072 + CASSANDRA-1397, the increment of counter is not idempotent, so it's difficult to align with