These are chat archives for akkadotnet/akka.net

11th
Mar 2015
jcwrequests
@jcwrequests
Mar 11 2015 00:30
@stefansedich I have done all the preliminary work so that the DI for Akka will work properly For Castle and Ninject I just need your help with the AutoFac. @Aaronontheweb @HCanber @Horusiath @rogeralsing I have almost complete the changes and will be working with @stefansedich to get the necessary changes for AutoFac. Besides the AutoFac reimplementation I am going to create a few tests to go along with the whole thing before I actually put in the Pull Request. In case anyone is interested to see what I have so far just check out my repo jcwrequests/akka.net@d706fef
Stefan Sedich
@stefansedich
Mar 11 2015 00:38
cool
not sure yet how I can work it with autofac
autofac has no release method on a container
I need to keep track of a lifetime scope and dispose that later
Aaron Stannard
@Aaronontheweb
Mar 11 2015 01:31
@/all got our build server to create some initial API docs from the latest in /dev branch - what do you think? http://petabridge-ci.cloudapp.net/repository/download/AkkaNet_AkkaNetWeeklyApiDoc/211:id/bin/doc/html/d75eb659-6335-53f6-af7a-81814a21ab7f.htm?guest=1
(we're going to integrate this into http://getakka.net/ for each release of Akka.NET eventually)
jberzy
@jberzy
Mar 11 2015 06:25
Hi All. Are there any plans to implement ClusterSharding and ClusterSingletonManager anytime soon? Are there any outstanding issues blocking it? Maybe I can take a stab at it but would likely require some hand holding to start.
Roger Johansson
@rogeralsing
Mar 11 2015 06:35
@aaronontheweb have talked about clustersharding, you should talk to him
Aaron Stannard
@Aaronontheweb
Mar 11 2015 06:49
@jberzy we're still working on the two modules that ClusterSharding depends on - Akka.Persistence and Akka.Cluster. Akka.Cluster isn't too far away from a stable release and Akka.Persistence is in an alpha state at the moment (it's still in beta in JVM Akka too)
@jberzy ClusterSingleton is one that I personally want too - IIRC I think it only depends on Akka.Cluster
so you might be able to get started on that with the tools we have today
jberzy
@jberzy
Mar 11 2015 06:51
@Aaronontheweb thanks!
Aaron Stannard
@Aaronontheweb
Mar 11 2015 06:52
@jberzy send me an email at aaron@petabridge.com - would be happy to give you a lay of the land on the cluster internals
if you're interested :)
jberzy
@jberzy
Mar 11 2015 06:53
Sure. that would be fantastic!
Aaron Stannard
@Aaronontheweb
Mar 11 2015 06:55
happy to do it - getting extra pairs of eyes on the clustering stuff is more than welcome
Bartosz Sypytkowski
@Horusiath
Mar 11 2015 16:52
do we have meeting today?
Aaron Stannard
@Aaronontheweb
Mar 11 2015 16:58
@Horusiath yessir
writing up the agenda for it
Bartosz Sypytkowski
@Horusiath
Mar 11 2015 16:59
there is a little risk, that I won't have microphone and camera
Bartosz Sypytkowski
@Horusiath
Mar 11 2015 19:31
I'm thinking about implementing stashing in F# actors in lazy manner, that means that stash would be intantiated only in case when actor logic will invoke functions which may need it
Tom Staijen
@tomstaijen
Mar 11 2015 21:34
Hi. I've been looking for ways to create child actors using DI. The best i can come up with for now is injecting some factory with a method "ActorRef Create<TActor>(IActorContext)", that uses the dependencyresolver to create the props), although this has some chicken/egg issues (). In general, what I miss in akka is the ability to separate the definition of actor creation (whenever I ask for an actorOf<T>, do <this>), with creating a reference to such actor. This seems quite obvious. Am i completely looking over some feature? Maybe an actorsystem that knows about the dependencyresolver, and whener actorOf<T>() is invoked, it will resolve a Props<T> to create the corresponding props? Thanks in advance for any feedback!
jcwrequests
@jcwrequests
Mar 11 2015 22:11
@tomstaijen If you use the IOC plugin then from within the Actor that has already been created use that access Props via the Context to create a child
That child will be using the IOC plugin.
I am responding from my phone so I apologize if I don't have a quick example.
Currently I am working on a patch for the current implementation which should be available soon.