Re: No Transactions: An Example

2011-06-23 Thread Trevor Smith
as this shows you can have locking without a central coordinator service. Best, Dominic On 22 June 2011 15:18, Trevor Smith tre...@knewton.com wrote: Hello, I was wondering if anyone had architecture thoughts of creating a simple bank account program that does not use transactions. I think

Re: No Transactions: An Example

2011-06-23 Thread Trevor Smith
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 a...@dude.podzone.net wrote: I think Sasha's idea is worth studying more. Here is a supporting read

No Transactions: An Example

2011-06-22 Thread Trevor Smith
-transactional datastores in general). Consider the simple system that has accounts, and users can transfer money between the accounts. There are these interesting papers as background (links below). Thank you. Trevor Smith http://www.ics.uci.edu/~cs223/papers/cidr07p15.pdf http://blogs.msdn.com/cfs

Re: No Transactions: An Example

2011-06-22 Thread Trevor Smith
column family. one row per account ... each column for transaction data and one column for the actual balance. just so long as you use whole numbers ... no one needs pennies anymore. -sd On Wed, Jun 22, 2011 at 4:18 PM, Trevor Smith tre...@knewton.com wrote: Hello, I was wondering if anyone

Re: No Transactions: An Example

2011-06-22 Thread Trevor Smith
problems occurred ... On Wed, Jun 22, 2011 at 4:31 PM, Trevor Smith tre...@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