On Mon, Mar 10, 2014 at 10:21 AM, Björn Antonsson < [email protected]> wrote:
> Hi Nikolay, > > On 8 March 2014 at 14:19:44, Nikolay Perevozchikov ([email protected]) > wrote: > > Hi. > > I only recently learned about Akka and there still too many things that I > don't understand yet. But among this all there is one especially major. I > see that STM was deprecated in 2.3 because it can work only within same > JVM. But what is true way to do transactions distributely in Akka? I > couldn't find any info about it (prior to 2.3 or for 2.3), it even started > to seem to me like it is so fundamental that no one need to ask, they just > know. One thing that I could think of is a transactions based on Akka > Persistence with help of Channels with their at-least-once delivery > guarantee. But even using Channels I don't know how to do it. I only have > faint idea that it can be done that way. Maybe I'm totally wrong, I don't > know. So, help me please. > > > The reason that Akka is moving away from transactions and doesn’t provide > out of the box support for distributed transactions is that they perform > poorly in real life and promote a thinking that leads to a non scaling > design. > > > To build systems without distributed transactions you need to apply a > different way of thinking about your systems. A good read on the subject is > this Position Paper by Pat Helland: Life beyond Distributed > Transactions<http://www-db.cs.wisc.edu/cidr/cidr2007/papers/cidr07p15.pdf> > . > > > Indeed a great and very influential paper. Akka Persistence and DDD can help managing this way of design systems. > B/ > > > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> 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/d/optout. > > > -- > Björn Antonsson > Typesafe <http://typesafe.com/> – Reactive Apps on the JVM > twitter: @bantonsson <http://twitter.com/#!/bantonsson> > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> 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/d/optout. > -- *Jonas Bonér*Phone: +46 733 777 123 Home: jonasboner.com Twitter: @jboner <https://twitter.com/jboner> -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> 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/d/optout.
