|
|
|
|
|
by cbsmith
4665 days ago
|
|
> Since Cassandra did not (until today) offer transactional isolation for any type of multi-cell update I guess it depends on what you mean by "transactional isolation" and "multi-cell update". Certainly there is nothing like ACID, but a single multi-cell update to a given record is guaranteed to be _atomic_, and if you have two concurrent multi-cell updates to a single record, they are guaranteed to eventually resolve to a consistent ordering of those operations (though without a strong clock/timestamp it is non-deterministic from the callers' POV). For a wide variety of use cases, that is actually a more accurate reflection of how reality works than the traditional ACID model. > but you also pay a per-cell overhead for every atomic chunk of state. Not so efficient if you were looking to store, say, big blocks of integers for your CRDTs The theory goes that compression tends to wipe out much of that inefficiency, and of course if your columns are sparsely populated it is actually more efficient. I'm sure that isn't always true, but I'd bet it is far more of a trivial side issue than one might think. |
|
I disagree. https://gist.github.com/aphyr/6402464