Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 06:11
    Horusiath commented #4742
  • 06:07
    Horusiath commented #4742
  • Jan 23 19:44
    to11mtm synchronize #4742
  • Jan 23 19:22
    to11mtm commented #4742
  • Jan 23 18:29
    to11mtm commented #4737
  • Jan 23 18:16
    to11mtm commented #4736
  • Jan 23 18:11
    to11mtm edited #4736
  • Jan 23 18:00
    to11mtm review_requested #4742
  • Jan 23 17:59
    to11mtm edited #4742
  • Jan 23 17:58
    to11mtm review_requested #4742
  • Jan 23 17:52
    to11mtm opened #4742
  • Jan 23 03:10
    seungyongshim edited #4733
  • Jan 22 18:02
    IgorFedchenko closed #4738
  • Jan 22 18:02
    IgorFedchenko commented #4738
  • Jan 22 17:39

    Aaronontheweb on 1.4.16

    (compare)

  • Jan 22 17:38

    Aaronontheweb on master

    Added v1.4.16 placeholder for n… typo (#4734) Allow different versions of MS … and 2 more (compare)

  • Jan 22 17:38
    Aaronontheweb closed #4741
  • Jan 22 17:26
    Aaronontheweb opened #4741
  • Jan 22 17:25

    Aaronontheweb on 1.4.16

    (compare)

  • Jan 22 17:25

    Aaronontheweb on dev

    Added v1.4.16 release notes (#4… (compare)

Aaron Stannard
@Aaronontheweb
and have actors fetch a reference from there
it's not as "clean" as passing that in as an argument via the constructor or via a message
but IMHO it's the best compromise
especially if that actorref needs to be shared between non-actor code (socket handlers, MVC controllers) and actors too
Scott Martin
@Scott__Martin_twitter
Got it, would an IoC make it easier?
Aaron Stannard
@Aaronontheweb
then you'd have two problems
as you'd need to bind your singleton IActorRef and distinguish it from any other IActorRefs you might need to pass around to other objects
but I've done that before too
needed it to inject actor references into controllers
Scott Martin
@Scott__Martin_twitter
ah, good point
Is there a common pattern for injection messages from outside the ActorSystem?
Aaron Stannard
@Aaronontheweb
you can always pass a message to any IActorRef from anywhere
Scott Martin
@Scott__Martin_twitter
For now the static ref isn't so bad as it is to only maintain backwards compatibility for the time being.
Aaron Stannard
@Aaronontheweb
and any top-level actors declared via ActorSystem.ActorOf are easily passable to external contexts
Scott Martin
@Scott__Martin_twitter
@Aaronontheweb Thank you for the information!
Aaron Stannard
@Aaronontheweb
@alexvaluyskiy figured out that consistent hash router race condition
it's a side-effect of having that actor start as a RepointableActorRef
if the actor cell doesn't start right away (talking like nanoseconds here)
the call to check to see how many children the router has, the first call, will fail
because the actor startup is asynchronous now
I think I can fix that
Aaron Stannard
@Aaronontheweb
(TL;DR; it's an issue with how the test is designed)
Aaron Stannard
@Aaronontheweb
added a fix just now akkadotnet/akka.net#2112
qwoz
@qwoz
what's the best way to visualize the actor hierarchy when debugging? Something akin to Visual Studio's Locals tab where you can drill down a tree structure to find something like:
MyActorSystem > user > MyActor > ChildActor > OtherActor [terminated]
Aaron Stannard
@Aaronontheweb
nothing built into Akka.NET for that
but what you can do inside the VS debugger
is grab ahold of the Context
inside a watch
and then expand the Children collection, whatever it is called
and from there you should be able to do that recursively for local actors at least
qwoz
@qwoz
yeah, I can do this crudely when debugging a test using this > base > base > base > Sys > base > Guardian > base > Children ... was hoping there was something a tad nicer. :smile:
to11mtm
@to11mtm
@qwoz, not sure if it would help for your use case but have you seen the visualizer? https://www.nuget.org/packages/Akka.Visualizer/
fouimette
@fouimette
Hello!
I am running through a tutorial on PluralSight (that is a little outdated) and am using the Terminate() method followed by the WhenTerminated task. What I get is a "DeathWatchNofitification message was not delivered" error. Any thoughts?
fouimette
@fouimette
blob
Bartosz Sypytkowski
@Horusiath
@fouimette usually it's nothing to worry about. When actor system terminates, it kills all actors in async fashion. Actors build in hierarchies parent-child often send messages to each other when terminating. In case of system termination that means that one terminating actor could send a message to another, which is being terminated too.
Corneliu
@corneliutusnea
Hi guys, what's the status of the Akka Cluster?
Bartosz Sypytkowski
@Horusiath
@corneliutusnea pretty solid already, I think @Aaronontheweb is going to move it out of beta in a week.
Corneliu
@corneliutusnea
Should I wait for final integration / testing with my product ?
Bartosz Sypytkowski
@Horusiath
if it's only a week, I would wait anyway
qwoz
@qwoz
Thanks @to11mtm ... is there a site for Akka.Visualizer with a bit more info?
Corneliu
@corneliutusnea
@qwoz I think you are talking about my visualizer. I really had no time to publish it :/ my fault
Corneliu
@corneliutusnea
fouimette
@fouimette
@Horusiath Thanks for the response. I would expect that a simple demo to create an actor in an actor system and then terminating the system would not produce such an unexpected result.
qwoz
@qwoz
thanks @corneliutusnea
hidavidpeng
@hidavidpeng
hi How can I get recover the message in supervisor?
Bart de Boer
@boekabart
@hidavidpeng either in the 'character' actor you do smth with it in PreRestart (or PostStop), or have the supervisor 'remember' it when sending it to the inner actor, and keep it until 'OK' or 'NOK (deadwatchnotification)'
Ricky Blankenaufulland
@ZoolWay
Can I check if a (cluster) router currently has any routees?
Ricky Blankenaufulland
@ZoolWay
In more words: I would like to know if there is currently any node connected which has actors capable of the job I want to do.
Alex Valuyskiy
@alexvaluyskiy
await router.Ask<Routees>(new GetRoutees())