Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 08:37
    Pzixel commented #3908
  • 08:20
    Zetanova synchronize #3916
  • 08:13
    Horusiath commented #3908
  • 08:12
    Horusiath commented #3908
  • 08:11
    Horusiath commented #3908
  • 07:58
    Horusiath commented #3284
  • 07:56
    Horusiath commented #3284
  • 07:32
    ismaelhamed commented #3284
  • 07:24
    Zetanova opened #3916
  • Sep 16 15:35
    Aaronontheweb commented #3284
  • Sep 16 07:55
    ismaelhamed commented #3284
  • Sep 13 16:35
    Aaronontheweb commented #3905
  • Sep 13 16:35
    Aaronontheweb labeled #3905
  • Sep 13 16:35
    Aaronontheweb labeled #3905
  • Sep 13 16:35
    Aaronontheweb labeled #3914
  • Sep 13 16:34
    Aaronontheweb commented #3914
  • Sep 13 01:50
    Aaronontheweb synchronize #3914
  • Sep 13 01:45
    Aaronontheweb commented #3914
  • Sep 12 14:10
    Aaronontheweb synchronize #3914
  • Sep 12 14:10

    Aaronontheweb on dev

    name AzureDevops artifacts per … (compare)

Kris Schepers
@schepersk
@Danthar In deed, fairly good beginner session by Info Support..
@Danthar We should have a quick chat if we bump into each other :-)
Arjen Smits
@Danthar
Sure thing!. We will be in the keynote. And the playing with projections session after that
Arjen Smits
@Danthar
The beginner session. Was by Edwin van wijk right?. Saw that on techdays last year.
Maxim Cherednik
@maxcherednik
hi @Danthar, trying to solve some strange issue with logging. Just need some extra hints what and how to check. For some reason logging is not working on the web node. Config is the same as on windows service. Logging itself is working outside of the akka code. Any hints?
Chutipong Roobklom
@khunemz
Hi I am M , from Bangkok
Maxim Cherednik
@maxcherednik
found it - bindingRedirection :(
Arjen Smits
@Danthar
@schepersk. We are in the middle of the pit downstairs
Jakub Čermák
@jakubcermak
hi. I've a question about akka.net and I can't find the answer anywhere. I'd like to use akka cluster with priority mailbox. Is it possible? The cluster works as expected (without the mailbox), and the priority mailbox works fine locally. But when I try to deploy nonlocal routee actors with my custom priority mailbox, the messages are not processed regarging to their priorities. Can you help me please? Is there any example?
Arsene T. Gandote
@Tochemey
Hello
What is the best way to call an async method in the AroundPreStart method?
Can just do async method().configureAwait(false);?
If so is there any side effect since the method is returning void?
Natan Vivo
@nvivo
@Tochemey you could cal .Wait() on any task, but it wouldn't be a good idea. if you need async initialization, I suggest doing in a message
@Tochemey whenever I need to do some async work before getting the actor ready, I do something like:
Constructor() {
    Self.Tell(new Initialize());

    ReceiveAsync<Initialize>(async _ => {
        await Whatever();
        ...
        Become(Ready);
    });
}

void Ready() {
    Receive<ActualMessages>(...);
    ...
}
Rahul Singh
@xingh
anyone know of a good reference application that leverages akka (scala) and akka.net on dotnetcore .. with or without an intermediary queue engine like rabbitmq
Aaron Stannard
@Aaronontheweb
@jakubcermak yep, you can do both
but the priority mailbox works only for specific actors
but it sounds like remote deployment with a custom mailbox is not working? am I correct in understanding that?
if so, could you please open up a Github issue for that? should be easy for us to test if that's the case
might be an issue with the fully qualified name of the mailbox not being passed through correctly
also: the binary that defines the custom mailbox is present on both the deployer and the deployee , right?
and the mailbox is registered with the same name on both the deployer and deployee's HOCON too?
Ismael Hamed
@ismaelhamed
Is there anything like the Command Line Management available to manage a cluster in Akka.NET?
stevemesser
@stevemesser
U
Arsene T. Gandote
@Tochemey
@nvivo Tx
Thomas Tomanek
@thomastomanek
does anyone know what magic causes the ActorCellKeepingSynchronizationContext to be used by a TestActorRef'd actor but not by a regular LocalActorRef? As far as I can tell the sync context is applied in the testkit as the global SynchronizationContext always
Bartosz Sypytkowski
@Horusiath
@thomastomanek I'm not sure if I remember correctly, but it may be that testkit actor system runs executing everything in a single thread rather than on the thread pool
Thomas Tomanek
@thomastomanek
@Horusiath hey, yeah that's it I think. TestActorRef's use callingthreadispatcher by default.
@Horusiath unfortunately breaks any ReceiveAsync on that thread
Bartosz Sypytkowski
@Horusiath
can you setup an issue on that?
Thomas Tomanek
@thomastomanek
#2491 :)
Bartosz Sypytkowski
@Horusiath
:)
Caleb Vear
@caleb-vear

I've been trying to figure out where the best place to do some initialisation is. PreStart seems like the logical place, but I'm having a little trouble finding in the docs how exceptions there are handled. My actor is managing an external connection which may fail if for some reason the remote host is unavailable.

It seems like trying to connect inside of the message handler might be better as then my actor will automatically be restarted.

I'm pretty new to Akka.net so I'm not quite sure what the best option is. If I go with doing it in a message handler is it considered acceptable practice for me to publish a message to Self from the PreStart method?
Bartosz Sypytkowski
@Horusiath
@caleb-vear yes, you can send messages to Self in PreStart without problems ;)
Jakub Čermák
@jakubcermak
@Aaronontheweb yes, exactly; it's not working for me. Binary is present on both side, mailbox is registered on both sides as well
thanks
Ricky Blankenaufulland
@ZoolWay
I would like to have an actor which "debounces" messages if he got them multiple times. Lets say the mailbox has a "refresh-message", an "info1-message" and a "refresh-message". Upon working on the first refresh message I would like to recognize that there is already a later "refresh message" so I will skip it. Or more low level, when a second "refresh-message" is enqued, the earlier one is dropped from the queue.
Will I have to write my own custom mailbox to do this?
Arjen Smits
@Danthar
@ZoolWay I would be very careful in implementing a mailbox with that kind of behavior. Because what happens if you use that actor in reliable message delivery scenario's ?
Or what happens if you utilize stashing and unstash a whole bunch of messages ?
I would handle this on the actor level.
Maybe you treat the refresh-message as an indication for intent, instead of actually performing the refresh action
you could do something like schedule a message to perform refresh in X amount of time, upon receiving the refresh-message. And invalidate that timer upon certain events.
Like a sliding-expiration-timer mechanism you see in caching
just a thought.
Aaron Stannard
@Aaronontheweb
@jakubcermak would you mind creating an issue for that? looks like we're probably leaving that information out of the Deploy data that gets serialized and sent over the wire
Aaron Stannard
@Aaronontheweb
@ismaelhamed not at the moment - that uses a construct in the JVM called the Java Management Experience
allows you to remotely access information about any Java Virtual Machine process
the CLR doesn't have anything like that built-in
Rich Cox
@conejo
It looks like there has been quite a bit of work recently on Akka.IO, Is it possible to do TLS on socket connections now?