Tuesday, January 6, 2015

Making Akka Commands and Events Deliver Reliably

0 comments
This post has been a long time in coming. I feel that it is high time to write about this because so many developers struggle with making message delivery with Akka a reliable procedure, and straightforward at the same time. Sure, there is the Akka Persistence experimental extension, and PersistentActor as well as AtLeastOnceDelivery traits along with it. These tools may work well for you. There are, however, a few places where these tools either fall short or leave something to be desired. So you should view what I am writing about here as an alternative approach and experimental extension to the official aforementioned Akka tools.

There is a big overlap with the approach found here and my vision for using Domain-Driven Design with Akka. I believe that most of this is inseparable from DDD, so you will see some references throughout. There is also a strong motivation to make the programming interface as simple and familiar as possible, not introducing a lot of new APIs. I call this little toolkit Number 9, mostly because it feels like there have already been 8 other ways of doing this, but ones that have fallen short.

read more here

Leave a Reply

 
All Tech News IN © 2011 DheTemplate.com & Main Blogger .