14

On the Migration guide from Akka 2.2.x to 2.3 I noticed the following brief mention:

Deprecated STM Support for Agents
Agents participating in enclosing STM transaction is a deprecated feature.

I googled to find out about the reasons for this choice and I could not find any discussion about it.

Why was this feature deprecated (and eventually will be removed) from Akka?
Is there a newer approach to the achieve similar results?

Akka Essentials, by Munish K. Gupta, dedicates a whole chapter to the topic so, being a recent adopter of Akka, I would be surprised if the feature was just dropped...

Thanks for any clarification.

mdm
  • 3,928
  • 3
  • 27
  • 43

1 Answers1

7

The main reason is that transactors won't make much sense in a clustered environment. Since akka tries to offer location transparency, this features has fallen out of favor.

fracca
  • 2,417
  • 1
  • 23
  • 22
  • 10
    Here is a line from transactor docs: "Might not be often but when you do need this then you are screwed without it". So I'm screwed? What are alternatives? – folex May 13 '14 at 12:13