couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Cohnen <sebastiancoh...@googlemail.com>
Subject Re: Banking Recipe
Date Sun, 14 Nov 2010 08:44:56 GMT
I'm personally not sure wether the banking example is good one or not, but: summing up transactions
isn't that bad, since the result is saved in the views b-tree. after first computation you
get the result very fast.

On 14.11.2010, at 08:39, Andy wrote:

> 
> Im well versed in Java/Hibernate/RDBMS.  Im trying to get my head around how NoSQL does
not use transactions.
> I read the Banking Recipe which didn't really do the job: http://guide.couchdb.org/draft/recipes.html
> So if I wanted to write an online banking app, I would have say a million Transaction
Documents, and to find a persons balance I would need to sum all transactions?  There must
be a better way.   		 	   		  


Mime
View raw message