Assuming you are thinking about transactional access to a relational database, you could have an actor representing the transaction. Every write goes to it as a message, and it stores these operations. A 'commit' message can then trigger the actual database transaction, with all writes being done in a single burst.
There are some limitations to this, mainly that there is no direct feedback based on a single write operation (e.g. number of affectred rows for an update to implement optimistic locking). You can get around these by adding a protocol on top, but that increases complexity and puts some burden on using code. - Arno Am 10.02.2017 um 23:29 schrieb Sovon Nath: > Hi All, > I am trying to evaluate Akka for one of our use cases. Is there any > standard pattern to implement ACID transactions in Akka? Also is there > any recommended orchestration tools that we can use for Akka APIs? > > -- >>>>>>>>>>> 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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. -- >>>>>>>>>> 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 https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
