Keifer
Keifer

Reputation: 23

Akka STM doesn't seem to be supported in the latest versions

Review lastest akka document without STM. Akka STM doesn't seem to be supported in the latest versions, why ? Which module instead of it? Thanks!

Upvotes: 2

Views: 499

Answers (2)

andrew pate
andrew pate

Reputation: 4297

I guess you could consider using a process manager or saga design pattern, maybe locking the actors from changing their state until the process or saga is able to commit or roll back

Upvotes: 0

lutzh
lutzh

Reputation: 4965

Akka STM was deprecated a few years ago, as it was deemed unfit for distributed systems. For the reasoning, see this article by Roland Kuhn about the decision to drop it.

Roland mentions Agents in his posting, but please note that they are also deprecated.

Instead - use actors. Beyond that, it's hard to say without knowing what you're trying to achieve / which problem you are trying to solve.

Upvotes: 3

Related Questions