@Horusiath in Akkling... if I ask and specify a specific response type, what will happen if the response is of a different type?
nm... I see you send back an Error with an InvalidCastException
can i send Stream objects as instance of my message?
ie anything that inherits IO.Stream
@schepersk I was there today @ #DDDEU, and im there tomorrow as well
there was some good exposure for akka.net as well
Wim Van Houts
In the docu it states that it is best not to instantiate the runtime in an ASP.NET application because IIS behaviour, which I agree upon, and, it states it would be best to create the runtime and actors in a separate application (or windows service). In this scenario, what would be the advised way to communicate between te ASP.NET applicaiton and the runtime? Is it a good idea to instantiate a runtime in the ASP.NET app which if it runs, gets a reference to the actors in the windows service runtime (using Akka.remote)? Any alternatives?
no what is meant, is that its best to run a seperate application, which is part of your cluster. And have that application expose a service interface that your webapp calls. Via WCF or something
ofc does not have to be part of a cluster or anything. can be a stand alone actor system as well
Via WCF or something
: PTSD triggered : :P
@Lutando not by default. If you try hard, you could achieve that, but that is rather the case of stinky design and potential leaks.
@sean-gilliam lol :D
@_kiwi78_twitter you can still create a razor thin actor system in ASP.NET
and pipe data to a cluster over Akka.Remote
you just want to avoid keeping stateful actors inside your web apps is all
@Danthar In deed, fairly good beginner session by Info Support..
@Danthar We should have a quick chat if we bump into each other :-)
Sure thing!. We will be in the keynote. And the playing with projections session after that
The beginner session. Was by Edwin van wijk right?. Saw that on techdays last year.
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?
Hi I am M , from Bangkok
found it - bindingRedirection :(
@schepersk. We are in the middle of the pit downstairs
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
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?
@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:
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
@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
@Horusiath hey, yeah that's it I think. TestActorRef's use callingthreadispatcher by default.
@Horusiath unfortunately breaks any ReceiveAsync on that thread