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. 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 – Reactive Apps on the JVM twitter: @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.
