Hi Richard,

On 05.01.14 13:00, Richard Rodseth wrote:
I'm really struggling to understand what an event sourced DDD design looks like with Akka persistence. Are any complete examples on the way (perhaps in Activator) ?

In particular, some of Vaughn Vernon's stuff seems to suggest aggregate *instances* as actors (which I find a bit confusing and hard to relate to supervision hierarchies) whereas the old eventsourced example had actors as aggregate *processors*, but also included in-memory domain and STM in the mix.

akka-persistence completely leaves it to the application how state is organized (processor per aggregate type, aggregate instance or whatever ...) and referenced (var, STM ref, ...). Giving a general recommandation here would be too restrictive IMO. It really depends on the specific requirements what makes most sense.

(Part of) the examples in akka-sample-persistence will become activator templates but we don't have a complete DDD reference application yet. Would be great to see some contributions here :-)


I very much enjoyed this series, but it's not using Akka:
http://blog.zilverline.com/2011/02/01/towards-an-immutable-domain-model-introduction-part-1/

I eventually found this example mentioned (but not linked) in the Akka Persistence documentation:

https://github.com/akka/akka/tree/master/akka-samples/akka-sample-persistence

but it's not saving state on a per-aggregate basis.

Thanks in advance for any enlightenment.
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

--
Martin Krasser

blog:    http://krasserm.blogspot.com
code:    http://github.com/krasserm
twitter: http://twitter.com/mrt1nz

--
     Read the docs: http://akka.io/docs/
     Check the FAQ: http://akka.io/faq/
     Search the archives: https://groups.google.com/group/akka-user
--- You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to