More Akka Typed examples?

86 views
Skip to first unread message

Jonathan Schuster

unread,
Mar 24, 2015, 3:30:39 PM3/24/15
to akka...@googlegroups.com
Are there more example programs of Akka Typed programs than what is shown at http://doc.akka.io/docs/akka/snapshot/scala/typed.html ? I'm a researcher in programming languages working on useful ways to specify protocols between actors, and the chat room example is a great example of the kind of protocol I'm interested in, i.e, where ActorRefs are passed back and forth over the course of the protocol. My hypothesis is that this kind of protocol is more common when ActorRefs restrict their types.

The pattern used for UDP and TCP in the akka.io module is a good example as well, so I've been looking through the rest of the Akka code base for other examples.

Konrad Malawski

unread,
Mar 30, 2015, 11:15:11 AM3/30/15
to akka...@googlegroups.com
Hi Jonathan,
very glad to see your interest in Akka :-)
The best source of Akka Typed code is currently it's extensive test suite - https://github.com/akka/akka/tree/master/akka-typed/src/test/scala/akka/typed
I don't think you'll find any akka-typed usages out there "in the wild", as it has not yet been part of an actual release - it will be when we release 2.4 (maybe a milestone or RC, we'll see).

Also, bumping this thread so maybe Roland has a word or two to throw into the discussion (akka-typed has been primarily his baby ;-)).

On Tue, Mar 24, 2015 at 7:20 PM, Jonathan Schuster <schu...@ccs.neu.edu> wrote:
Are there more example programs of Akka Typed programs than what is shown at http://doc.akka.io/docs/akka/snapshot/scala/typed.html ? I'm a researcher in programming languages working on useful ways to specify protocols between actors, and the chat room example is a great example of the kind of protocol I'm interested in, i.e, where ActorRefs are passed back and forth over the course of the protocol. My hypothesis is that this kind of protocol is more common when ActorRefs restrict their types.

The pattern used for UDP and TCP in the akka.io module is a good example as well, so I've been looking through the rest of the Akka code base for other examples.

--
You received this message because you are subscribed to the Google Groups "Akka Developer List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Cheers,
Konrad 'ktoso' Malawski

Roland Kuhn

unread,
Mar 30, 2015, 11:46:03 AM3/30/15
to akka-dev
30 mar 2015 kl. 17:14 skrev Konrad Malawski <kt...@typesafe.com>:

Hi Jonathan,
very glad to see your interest in Akka :-)
The best source of Akka Typed code is currently it's extensive test suite - https://github.com/akka/akka/tree/master/akka-typed/src/test/scala/akka/typed
I don't think you'll find any akka-typed usages out there "in the wild", as it has not yet been part of an actual release - it will be when we release 2.4 (maybe a milestone or RC, we'll see).

Also, bumping this thread so maybe Roland has a word or two to throw into the discussion (akka-typed has been primarily his baby ;-)).

Thanks for the ping :-)


On Tue, Mar 24, 2015 at 7:20 PM, Jonathan Schuster <schu...@ccs.neu.edu> wrote:
Are there more example programs of Akka Typed programs than what is shown at http://doc.akka.io/docs/akka/snapshot/scala/typed.html ? I'm a researcher in programming languages working on useful ways to specify protocols between actors, and the chat room example is a great example of the kind of protocol I'm interested in, i.e, where ActorRefs are passed back and forth over the course of the protocol. My hypothesis is that this kind of protocol is more common when ActorRefs restrict their types.

The pattern used for UDP and TCP in the akka.io module is a good example as well, so I've been looking through the rest of the Akka code base for other examples.

It would definitely be interesting to see how Akka IO would look like when presented using Akka Typed infrastructure—unfortunately I won’t have time to do this in the near-term future, so you are welcome to see and share.

Regards,

Roland


--
You received this message because you are subscribed to the Google Groups "Akka Developer List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Cheers,
Konrad 'ktoso' Malawski

--
You received this message because you are subscribed to the Google Groups "Akka Developer List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



Dr. Roland Kuhn
Akka Tech Lead
Typesafe – Reactive apps on the JVM.
twitter: @rolandkuhn


Reply all
Reply to author
Forward
0 new messages