Hi Kevin,

On Fri, Feb 21, 2014 at 12:05 PM, <[email protected]> wrote:

> Hi,
>
> Firstly, hello, I'm new to this group and to Akka.
>

welcome


>
> I'm designing a system using Akka from Java. Part of the system has a
> transactional requirement where I need to update the data held by several
> actors together or not at all.
>
> I've been looking at the STM documentation for 2.2.3 and think that
> Transactors will be the best way to implement this.
>

I suggest that you use one actor as the consistency boundary. That doesn't
mean you have to structure all code into one actor. You can delegate to
other classes, and you can have other actors performing work and collecting
the sub-results, and then finally when everything is ready perform the
update in one actor.


>
> However, I have just read the 2.3 migration guide and it seems that this
> whole area is to be deprecated. Also the STM section has been removed from
> the 2.3 docs.
>

> There isn't really an explanation in the guide and so I am just wondering
> why this is happening. Is an alternative method recommended to fulfil these
> requirements?
>

The main reasons are that it is not scalable and distributable.

For local usage you can use STM, but you don't need the Akka abstractions
for that.

/Patrik


>
> Cheers,
>
> Kevin
>
> --
> >>>>>>>>>> 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.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      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