Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 13:12
    Aaronontheweb labeled #4099
  • 13:12
    Aaronontheweb labeled #4099
  • 13:12
    Aaronontheweb opened #4099
  • 10:41
    Aaronontheweb commented #4097
  • 08:19
    ismaelhamed synchronize #4097
  • 02:22
    kimbyungeun opened #4098
  • Dec 15 19:47

    Aaronontheweb on dev

    TypeExtensions.TypeQualifiedNam… (compare)

  • Dec 15 19:47
    Aaronontheweb closed #4071
  • Dec 15 19:47
    Aaronontheweb closed #3767
  • Dec 15 19:47
    Aaronontheweb labeled #3767
  • Dec 15 19:47
    Aaronontheweb labeled #3767
  • Dec 15 19:47
    Aaronontheweb milestoned #3767
  • Dec 15 19:44
    Aaronontheweb labeled #4097
  • Dec 15 19:44
    Aaronontheweb milestoned #4097
  • Dec 15 13:23
    Aaronontheweb commented #4096
  • Dec 15 13:22
    Aaronontheweb commented #4093
  • Dec 15 13:16
    ismaelhamed commented #4093
  • Dec 15 13:04
    ismaelhamed edited #4097
  • Dec 15 13:04
    ismaelhamed opened #4097
  • Dec 15 12:50
    ismaelhamed commented #4096
Maciej Wódke
@mwpro

@Horusiath In my example, when I once serialize my object with two properties (string and int, Step 1), and then I add a new property to the class I cannot have my object deserialized (steps 3, 4, 5). Adding a new field only worked for a string property at the end of class (step 2).

But if the order and type of fields matters as you said, then it makes some sense why they are not deserialized properly.

scottBat
@scottBat
in the type safe information at https://github.com/typesafehub/config#uses-of-substitutions it gives an example with subsitutiions and merging. “inheritance” as it call it. The example:
data-center-generic = { cluster-size = 6 }
data-center-east = ${data-center-generic}
data-center-east = { name = "east" }
data-center-west = ${data-center-generic}
data-center-west = { name = "west", cluster-size = 8 }
Should yield a merged config, but the hocon parser in Akka.net 1.1.3 does not seem to parse correctly. It doesn’t merge. Is this a known issue?
Arsene
@Tochemey
Hello Akka geeks, can someone explain to me how message immutability plays well with generic type?
Arsene
@Tochemey
Hello
Maxim Cherednik
@maxcherednik
hi
can you extend a bit ?
Arsene
@Tochemey

Is it safe to do something like this looking at the thread safe beauty of Akka.Net

public class SomeMessage<T> {
    public SomeMessage(T data){
        Data = data;
    }
    public T Data{get;}
}

where T is also a immutable object?

so that in my receive I can proceed like
Receive<SomeMessage<T>>();
Maxim Cherednik
@maxcherednik
Should be fine.
I have it in my project.
Arsene
@Tochemey
@maxcherednik Thank you
Natan Vivo
@nvivo
looking in the archives but I cannot find it. how do I subscribe to an event that tells me the cluster is up?
Sometimes google does magic :)
Natan Vivo
@nvivo
thanks
Kris Schepers
@schepersk
Anyone else from here at #DDDEU ??
Damian Reeves
@DamianReeves
@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
Lutando Ngqakaza
@Lutando
can i send Stream objects as instance of my message?
Lutando Ngqakaza
@Lutando
ie anything that inherits IO.Stream
Arjen Smits
@Danthar
@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
@_kiwi78_twitter
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?
Arjen Smits
@Danthar
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
Arjen Smits
@Danthar
ofc does not have to be part of a cluster or anything. can be a stand alone actor system as well
Sean Gilliam
@sean-gilliam

Via WCF or something

WCF

: PTSD triggered : :P

Bartosz Sypytkowski
@Horusiath
@Lutando not by default. If you try hard, you could achieve that, but that is rather the case of stinky design and potential leaks.
Arjen Smits
@Danthar
@sean-gilliam lol :D
Aaron Stannard
@Aaronontheweb
@_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
wrote about this in some detail here: https://petabridge.com/blog/akkadotnet-aspnet/
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
@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