6 ms·
I can't recommend Akka's state machines enough. It's an incredibly simple and rock solid state machines built right into the library. (http://doc.akka.io/docs/a
by estsauver 9y ago
I can't recommend Akka's state machines enough. It's an incredibly simple and rock solid state machines built right into the library. (http://doc.akka.io/docs/akka/snapshot/scala/fsm.html http://doc.akka.io/docs/akka/snapshot/scala/fsm.html) We're already on a Play/Scala backend so adding these was incredibly easy for us, but I think they're one of the hidden amazing features of the akka/scala world.
- djb_hackernews 9y agoI just looked through and I may have missed it but do you know if this does distributed FSM management?
- AdieuToLogic 9y agoAkka FSM in and of itself does not address distributed FSM's. However, supporting such would likely involve their clustering[0] support and perhaps distributed data[1]. 0 -http://doc.akka.io/docs/akka/current/scala/index-network.html http://doc.akka.io/docs/akka/current/scala/index-network.htm... 1 - http://doc.akka.io/docs/akka/current/scala/cluster-usage.html#distributed-data http://doc.akka.io/docs/akka/current/scala/cluster-usage.htm...
- keithnz 9y agoI use it with akka.net, it's pretty cool
- saosebastiao 9y agoHmm. I've tried using them multiple times, but have ended up ditching them for one reason or another. There always seems to be one thing that makes it easier to just implement one via a regular akka actor or a regular scala class.