couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ara.t.howard" <>
Subject Re: dirty reads - update strategies
Date Thu, 13 Nov 2008 18:37:24 GMT

On Nov 13, 2008, at 11:28 AM, Damien Katz wrote:

> Yes, I mean values as computed values.  The main post shouldn't be  
> updated with a comment count or anything computed like that. It's  
> fine if comments have a reference to their parent, and its fine if  
> the comments are tagged as children of the post. This way, when the  
> main post is opened, the comment count can be computed from a view,  
> or when viewing a comment, the user is also shown the parent, and  
> maybe subcomments if its a threaded discussion.

okay that makes good sense - same for RDBMS of course too.  basically  
you're saying 'stay normalized.'  i wasn't clear about your meaning of  
'values' - which clearly excludes 'ids.'


a @
we can deny everything, except that we have the possibility of being  
better. simply reflect on that.
h.h. the 14th dalai lama

View raw message