[
https://issues.apache.org/jira/browse/CASSANDRA-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719820#action_12719820
]
Sandeep Tata commented on CASSANDRA-225:
----------------------------------------
These are interesting arguments.
I'm happy to leave mastered writes + simple transactions out of trunk if no one
else is dying to have these features :-)
>Perhaps not, but if there is an approach worth trading clean design away for,
>this isn't it. The approach here only gives you the ability to have better
>atomicity across keys on the same master node, which is dubiously useful.
>Definitely not worth the price.
I don't think it is that obvious. At least, not yet.
See:
http://code.google.com/appengine/docs/python/datastore/keysandentitygroups.html
Any guesses on why they have this rather annoying abstraction :-) ?
I'm neither recommending nor opposing this abstraction (or lack of it!). Just
pointing out that some people seem to think that you can process simple
transactions scalably for much cheaper this way.
> Support mastered writes
> -----------------------
>
> Key: CASSANDRA-225
> URL: https://issues.apache.org/jira/browse/CASSANDRA-225
> Project: Cassandra
> Issue Type: New Feature
> Affects Versions: 0.4
> Environment: all
> Reporter: Sandeep Tata
> Assignee: Sandeep Tata
> Fix For: 0.4
>
> Attachments: 225.patch
>
>
> Writes to a row today can be run on any of the replicas that own the row. An
> additional set of APIs to perform "mastered" writes that funnel through a
> primary is important if applications have some operations that require higher
> consistency. Test-and-set is an example of one such operation that requires a
> higher consistency guarantee.
> To stay true to Cassandra's performance goals, this should be done in a way
> that does not compromise performance for apps that can deal with lower
> consistency and never use these APIs. That said, an app that mixes higher
> consistency calls with lower consistency calls should be careful that they
> don't operate on the same data.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.