These are chat archives for akkadotnet/akka.net

7th
Mar 2015
jcwrequests
@jcwrequests
Mar 07 2015 00:48
@Horusiath I would second that.
jcwrequests
@jcwrequests
Mar 07 2015 00:56
It's definitely something that would be worth it.. Here is some inspiration from the JVM side https://vaughnvernon.co/?p=986 using Postgres.
jcwrequests
@jcwrequests
Mar 07 2015 01:02
@Aaronontheweb Is there some simple documentation say a diagram showing the basic hierarchy of the Akka internals and how they play together. I am still trying to find a good place within the code base for that IOC release strategy and getting hung up on the life cycle and the other responsibilities of the system.
jcwrequests
@jcwrequests
Mar 07 2015 01:10
@Aaronontheweb I was just looking over on the JVM side and found this Stop Hook
After stopping an actor, its postStop hook is called, which may be used e.g. for deregistering this actor from other services. This hook is guaranteed to run after message queuing has been disabled for this actor, i.e. messages sent to a stopped actor will be redirected to the deadLetters of the ActorSystem.
Andrew Skotzko
@skotzko
Mar 07 2015 01:12
@jcwrequests so you're looking for a good overview fo the lifecycle? we don't have everything documented AFAIK, but for life cycle specifically we did a good write up here : https://github.com/petabridge/akka-bootcamp/tree/master/src/Unit-1/lesson6
jcwrequests
@jcwrequests
Mar 07 2015 01:13
Thanks @skotzko I will definitely check that out. Trying to figure it out strictly from the code base is not exactly easy.
Andrew Skotzko
@skotzko
Mar 07 2015 01:13
hear ya. docs will improve soon.
jcwrequests
@jcwrequests
Mar 07 2015 01:14
No problem. As I am learning new things I will definitely document through my blog.
Really you guys are doing an assume job!!!!
jcwrequests
@jcwrequests
Mar 07 2015 01:20
@skotzko I just took a quick look. I see the part about the void PostStop() but that is something that needs to be implemented by the actor. What I am look for is more about the internals. So Props creates instances I need to have some hook to do releases of the actor created using my IOC contrib. All the someone should have to do is wire up the IOC container and then let Akka do the rest. Regardless the information is very helpful so thanks.
jcwrequests
@jcwrequests
Mar 07 2015 02:43
@Aaronontheweb @skotzko I think within the ActorCell specifically private void FinishTerminate() might be able to call a release method on Props. In Fact I think Props should have a Release method or expose the IndirectActorProducer where having the Release method makes most sense. I believe that was what you were referring to the last time we chatted.
jcwrequests
@jcwrequests
Mar 07 2015 02:51
@Aaronontheweb I think that will work I will prototype it the come up with a proposal.