Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why Transactors have been deprecated in Akka 2.3 [closed]

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.

like image 524
mdm Avatar asked Jan 22 '14 22:01

mdm


1 Answers

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.

like image 151
fracca Avatar answered Nov 15 '22 21:11

fracca