cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trevor Smith <tre...@knewton.com>
Subject Re: No Transactions: An Example
Date Thu, 23 Jun 2011 13:37:47 GMT
AJ,

Thanks for your input. I don't fully follow though how this would work with
a bank scenario. Could you explain in more detail?

Thanks.

Trevor

On Wed, Jun 22, 2011 at 6:34 PM, AJ <aj@dude.podzone.net> wrote:

> I think Sasha's idea is worth studying more.  Here is a supporting read
> referenced in the O'Reilly Cassandra book that talks about alternatives to
> 2-phase commit and synchronous transactions:
>
> http://www.eaipatterns.com/**ramblings/18_starbucks.html<http://www.eaipatterns.com/ramblings/18_starbucks.html>
>
> If it can be done without locks and the business can handle a rare
> incomplete transaction, then this might be acceptable.
>
>
>
> On 6/22/2011 9:14 AM, Sasha Dolgy wrote:
>
>> I would still maintain a record of the transaction ... so that I can
>> do analysis post to determine if/when problems occurred ...
>>
>> On Wed, Jun 22, 2011 at 4:31 PM, Trevor Smith<trevor@knewton.com>  wrote:
>>
>>> Sasha,
>>> How would you deal with a transfer between accounts in which only one
>>> half
>>> of the operation was successfully completed?
>>> Thank you.
>>> Trevor
>>>
>>
>

Mime
View raw message