Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 18 19:12
    IgorFedchenko commented #3998
  • Oct 18 18:29
    Aaronontheweb commented #3998
  • Oct 18 18:24
    Aaronontheweb opened #3998
  • Oct 18 18:19

    Aaronontheweb on fix-readme-logo

    (compare)

  • Oct 18 17:30
    Aaronontheweb milestoned #3973
  • Oct 18 16:38
    jaydeboer opened #3997
  • Oct 18 15:53
    Aaronontheweb synchronize #3973
  • Oct 18 15:52

    dependabot-preview[bot] on dev

    Bump Microsoft.NET.Test.Sdk fro… (compare)

  • Oct 18 15:52

    dependabot-preview[bot] on nuget

    (compare)

  • Oct 18 15:52
    dependabot-preview[bot] closed #3996
  • Oct 18 15:52
    Aaronontheweb commented #3996
  • Oct 18 14:53
    Aaronontheweb commented #3973
  • Oct 18 12:20
    IgorFedchenko commented #3973
  • Oct 18 12:17
    IgorFedchenko commented #3973
  • Oct 18 11:58
    IgorFedchenko synchronize #3973
  • Oct 18 11:33
    IgorFedchenko commented #3973
  • Oct 18 11:25
    IgorFedchenko synchronize #3973
  • Oct 18 07:04
    dependabot-preview[bot] labeled #3996
  • Oct 18 07:04
    dependabot-preview[bot] opened #3996
  • Oct 18 07:04

    dependabot-preview[bot] on nuget

    Bump Microsoft.NET.Test.Sdk fro… (compare)

jcwrequests
@jcwrequests
@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
@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
@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
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
hear ya. docs will improve soon.
jcwrequests
@jcwrequests
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
@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
@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
@Aaronontheweb I think that will work I will prototype it the come up with a proposal.
jcwrequests
@jcwrequests
@Aaronontheweb @skotzko Do you think putting together a well commented gist be sufficient for a proposal or should I put together a full blown google doc and share it with the group?
Aaron Stannard
@Aaronontheweb
@jcwrequests I think a gist is a good start
you can also try this, which I've been in love with lately: https://dotnetfiddle.net/
Stefan Sedich
@stefansedich
@jcwrequests happy to help out on this if you need another pair of hands.
jcwrequests
@jcwrequests
@Aaronontheweb thanks for the link I will check it out. Today I was thinking that it actually may make a good blog post. Currently I am trying to keep a cadence of a new post every two weeks and right now I am a little off track and this would be the perfect thing to talk about since it's what my current focus is. @stefansedich thanks for offer I might take you up on it. I already have some preliminary thoughts down on paper which I know will work but what I am trying to do is minimize any impact to the core framework.
jcwrequests
@jcwrequests
@stefansedich it looks like from your LinkedIn Profile you do AutoFac which would definitely come in handy since my IOC of choice is Castle WIndsor. Since my IOC contrib is being reworked it may be worth while to also find a way to validate the container to ensure that all registred actors are using the proper life cycle, like transient. I know it's something that is fairly easy to do in Castle but I am not sure about the other IOC containers. It's not something that is absolutely necessary but it help keep users on the happy path.
Stefan Sedich
@stefansedich
yeah happy to help with the autofac stuff.
jcwrequests
@jcwrequests
@stefansedich Is it it already Monday evening in Australia?
Stefan Sedich
@stefansedich
10am in the morning :)
with autofac the props will need to work a bit differently I think
we should resolve an Owned<T>
and then later dispose that owned so that we release things properly.
Autofac container does not have anything like a release method.
or create a LifetimeScope and keep track of that inside the props, then when you call Props.Dispose() dispose that LifetimeScope
jcwrequests
@jcwrequests
Sounds good to me. I am basing this on a great post that I read by the author of Dependency Injection for .Net Mark Seemann.
Either way I think the abstraction that I have in mind will work in both cases. Obviously the implementations will be different.
Stefan Sedich
@stefansedich
yeah as long as I can keep track of a lifetimescope and later dispose that I am happy.
jcwrequests
@jcwrequests
That should not be a problem as long as my research is correct.
Stefan Sedich
@stefansedich
let me know when you have something going and I can work on getting the autofac provider working right.
jcwrequests
@jcwrequests
I would go ahead and start and what I can do is try and get my notes up on github or google docs and I will send you a link. It really seems like it should be fairly easy to accomplish but it will require some changes to the Props object and the IndirectActorProducer interface to work properly.
Stefan Sedich
@stefansedich
once we have a Release or Dispose interface on the Props I can fix the autofac implementation easily.
jcwrequests
@jcwrequests
I am at GMT -5 so currently its 8:43 PM Sunday so I appreciate you telling my the local Aussie time.
Stefan Sedich
@stefansedich
GMT+10 10:43AM Monday
I am in the future
it is nice here
jcwrequests
@jcwrequests
We hopefully had our last snow storm of the year. We have been dealing with sub zero temps for that last month and I am ready for spring.
Stefan Sedich
@stefansedich
wowsers 30c here. fairly humid I am ready for winter.
jcwrequests
@jcwrequests
Those days are not to far away for here. :) Thank god for the beach.
If you want to hit me up on linkedIn feel free or on email. I usually check those during the day.
Stefan Sedich
@stefansedich
ok cool sounds good, I might just work on a implementation then of the overall release idea, merge it into one a the end of it perhaps?
jcwrequests
@jcwrequests
Gitter works fine for reading on a smart phone not to well for authoring messages.
Good I will talk to you soon. Signing off.
Stay Cool
Stefan Sedich
@stefansedich
you too!
Bruno Costa
@BrunoMVPCosta
does anyone know of an opensource project using akka.net? A full designed application to look into.
Roger Johansson
@rogeralsing
Not sure, we are leaving beta any day now, will most likely pop up more community stuff then. There are some major systems going into prod right now though
Aaron Stannard
@Aaronontheweb
@BrunoMVPCosta I built this on Friday - made a full-fledged web crawler powered by Akka.NET using its clustering module, ASP.NET, SignalR, and Windows Services
I'm going to document it this week with an architecture diagram and some other stuff and once that's done you'll see it in https://github.com/petabridge/akkadotnet-code-samples
I'm also using pre-release Akka.NET bits which I still need to check into the repo in order for local builds to run :p