kanaloa icon indicating copy to clipboard operation
kanaloa copied to clipboard

Migrate to Typed Actors

Open kailuowang opened this issue 7 years ago • 4 comments

Now that the kanaloa system is growing bigger with more types of actors, it might be beneficial to use typed actors instead. This is up for triage.

kailuowang avatar Jul 19 '16 15:07 kailuowang

I'd vote for this to be done after Akka Typed is no longer experimental since it's not production ready yet. We could also Akka FSM to provide a little more structure (of course feel free to provide counterarguments for this on this thread).

lvauthrin avatar Jul 19 '16 16:07 lvauthrin

@lvauthrin I agree that we should probably wait for typed actor becomes more stable. What FSM can achieve has some overlap with typed actor though. So maybe we should just wait for Typed Actor?

kailuowang avatar Jul 20 '16 00:07 kailuowang

We can but we might be waiting a while considering Akka Typed (latest attempt at typed actors) was introduced in 2.4 and their docs state the following:

Akka Typed is the result of many years of research and previous attempts (including Typed Channels in the 2.2.x series) and it is on its way to stabilization, but maturing such a profound change to the core concept of Akka will take a long time. We expect that this module will stay experimental for multiple major releases of Akka...

lvauthrin avatar Jul 20 '16 00:07 lvauthrin

yeah, it's a tricky situation. But I think in the next major release we may get a sense how stable it would be. I think I am going to remove the 1.0-RC1 for now, and add a blocked tag.

kailuowang avatar Jul 20 '16 00:07 kailuowang