Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
consistency
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bennie Kloosteman  
View profile  
 More options Nov 13 2012, 2:55 am
From: Bennie Kloosteman <bkloo...@gmail.com>
Date: Tue, 13 Nov 2012 15:55:50 +0800
Local: Tues, Nov 13 2012 2:55 am
Subject: consistency

I often see cqrs samples  go

Do Something to in memory model .
Persist()
Fire Events;   // in Event Sourcing some events do the  persisting ,..

but doesn't this allow the domain to get out of wack with the database ? eg
what if the model is updated and then the database transaction fails ?

Or do you work with singular roots and only allow another command to use
that once the data is persisted ?

Regards,

Ben


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Young  
View profile  
 More options Nov 13 2012, 3:12 am
From: Greg Young <gregoryyou...@gmail.com>
Date: Tue, 13 Nov 2012 10:12:27 +0200
Local: Tues, Nov 13 2012 3:12 am
Subject: Re: [DDD/CQRS] consistency

Changes are transient until persisted. If a persist fails the easiest thing
is to evict the ibject from memory though you can support undos
On Nov 13, 2012 9:55 AM, "Bennie Kloosteman" <bkloo...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bennie Kloosteman  
View profile  
 More options Nov 13 2012, 3:15 am
From: Bennie Kloosteman <bkloo...@gmail.com>
Date: Tue, 13 Nov 2012 16:15:57 +0800
Local: Tues, Nov 13 2012 3:15 am
Subject: Re: [DDD/CQRS] consistency

Thanks a lot for your comments Greg , is it common to do this ? Or do
people live with it unless a specific requirement ?

Ben


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
@yreynhout  
View profile  
 More options Nov 13 2012, 3:58 am
From: "@yreynhout" <yves.reynh...@gmail.com>
Date: Tue, 13 Nov 2012 00:58:44 -0800 (PST)
Local: Tues, Nov 13 2012 3:58 am
Subject: Re: consistency

Unit of work?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »