Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 20:21
    Arkatufus edited #5542
  • 20:20
    Arkatufus labeled #5542
  • 20:20
    Arkatufus edited #5542
  • 20:15
    Arkatufus opened #5542
  • 17:33
    Aaronontheweb review_requested #5533
  • 15:22
    mralexes commented #5541
  • 12:04
    Aaronontheweb labeled #5541
  • 12:04
    Aaronontheweb milestoned #5541
  • 12:04
    Aaronontheweb commented #5541
  • 11:56
    Aaronontheweb commented #5400
  • 11:54
    Aaronontheweb commented #5541
  • 11:53
    Aaronontheweb labeled #5541
  • 11:53
    Aaronontheweb labeled #5541
  • 11:08
    mralexes opened #5541
  • 08:01
    Zetanova commented #5400
  • Jan 25 21:49
    dependabot[bot] synchronize #5364
  • Jan 25 21:49

    dependabot[bot] on nuget

    Bump Microsoft.Extensions.Depen… (compare)

  • Jan 25 21:49
    dependabot[bot] synchronize #5366
  • Jan 25 21:49
    dependabot[bot] edited #5364
  • Jan 25 21:49

    dependabot[bot] on nuget

    Bump System.Configuration.Confi… (compare)

AndreSteenbergen
@AndreSteenbergen
The PipeTo method is what I recall is recommended; but both methods should work fine
Rodger Brennan
@rodgerbrennan
I want better hardware to work with, but I'll settle for not breaking it in production :) But, yeah, this seems to be exactly what I need.
AndreSteenbergen
@AndreSteenbergen
We have to work with, what we are given sometimes.
Chandra Sekhar Manginipalli
@leo12chandu
So far from what I searched, sounds like the routees have to be in the same ActorSystem as the router (independent of nodes) when using grouped routers. Anyone know if the routees can be on a different actorsystem?
Vasily Kirichenko
@vasily-kirichenko
does anybody know if "Reactive Applications with Akka.NET" is gonna be released, finally?
The last MEAP is rather outdated, it uses Helios in snippets, etc.
Ebere Abanonu
@eaba
@vasily-kirichenko the publisher keep changing the release date
Vasily Kirichenko
@vasily-kirichenko
:(
Ebere Abanonu
@eaba
the new release date is Sep 30, 2018
Bartosz Sypytkowski
@Horusiath
@vasily-kirichenko afaik the author has no more interest in akka.net. The book will be hopefully finished after some foreword and minor update.
Vasily Kirichenko
@vasily-kirichenko
has moved to jvm maybe :)
Bartosz Sypytkowski
@Horusiath
no, he's working in CompositionalIT and last time I've checked, he was contributing to MBrace
Hyungho Ko
@hhko
Could you recommend how to integrate MVVM with Akka.NET?
always call Tell method of actor in Command Handler.
I don't think it's the good way.
this is sample code.
I must simply call the Tell method on all Command-Message handling functions.
This message was deleted
Hyungho Ko
@hhko
always. Is it right?
Are there another ways?
Marc Piechura
@marcpiechura
@hhko Tell is fire and forget, I.e. your command will be finished immediately, I suppose you want to trigger some action, maybe with some response and the button should be disabled during execution ? Then I would use Ask instead of Tell
If your command supports async execution ofc
anthonyhawes
@anthonyhawes
@hhko I have used a combination of two actors with MVVM, a UI actor which is passed the instance of the view model in it's constructor and a service actor which does work in the background. View model commands use Tell to send messages to the service actor and pass the UI actor as the sender, so all responses from the service are handled by the UI actor which can safely set properties on the view model
Vasily Kirichenko
@vasily-kirichenko
@anthonyhawes why not just save the UI execution context and perform view model mutation in it?
AndreSteenbergen
@AndreSteenbergen
Andrey Leskov
@andreyleskov
Hey, everybody! Should it be ещ possible use akka cluster with DI? I remember somebody was telling that it is ok to serialize DI props with Hyperion with surrogates.
Chandra Sekhar Manginipalli
@leo12chandu
What is the default serializer akka.net uses for messages between actors? I know it uses protobuf for internal messages like cluster gossip, etc.
Is it Newtonsoft.JSON?
Chandra Sekhar Manginipalli
@leo12chandu
I saw somewhere its JSON and from Akka.net 1.5, the default is changed to hyperion.
Alex Hofer
@alexhofer
According to the docs @leo12chandu you are correct:
https://getakka.net/articles/networking/serialization.html
Chandra Sekhar Manginipalli
@leo12chandu
Thanks Alex
I found out from prior trials that Hyperion has issues when a full framework actor has to communicate with a .net core framework actor. This means with the new version of akka.net we cannot have full framework apps sending messages to core akka app it sounds like. I will try to put together a test app with akka.net 1.8 and see how it behaves.
Specially when we have Dictionaries and IEnumerables.
Alex Hofer
@alexhofer
Yes we encountered that issue too. Its either .Net Core everything or nothing. Unless you roll your own serializer
Chandra Sekhar Manginipalli
@leo12chandu
Aha. Thats a bummer that hyperion being a faster serializer than protobuf with an Achilles heal. Wouldnt it be nice if there was a way to translate the types using manifest. Did you end up using protobuf as your custom or microsoft bond or something else?
Alex Hofer
@alexhofer
Nope we just went all .Net Core. Luckily everything we needed worked in it. However we did run into a serialization issue with naming in our POCOs which caused the serializer to not deserialize properly and silently get rid of the message which was hard to track down.
Chandra Sekhar Manginipalli
@leo12chandu
ugh. ok.
Aaron Stannard
@Aaronontheweb
@leo12chandu @alexhofer technically, we do have a way of achieving x-framework with .NET core and .NET full
Chandra Sekhar Manginipalli
@leo12chandu
we do?
the knowntypes thingy?
Aaron Stannard
@Aaronontheweb
akkadotnet/akka.net#2947
bit of a hack around Hyperion itself
which is why the serialization doesn't "just work" out of the box
but it deals with the fact that .NET Core moved all of the default namespaces for primitives
Chandra Sekhar Manginipalli
@leo12chandu
@Aaronontheweb - data.Replace("System.Private.CoreLib", "%CORE%"); works because we are using json serialized string. With hyperion, we dont have a string as a type for serialized data. So, how do we even replace the mscorlib and CoreLib in the hyperion serialized data?
Chandra Sekhar Manginipalli
@leo12chandu
Or are you saying, use some other serializer like json first to serialize the whole shabang and then replace the library versions. And then serialize that whole Json'd string into using hyperion?
Vasily Kirichenko
@vasily-kirichenko
I have a Source.Queue. At some point I know that I've enqueued all messages into it and I need to wait until all of them reached the sink (Sink.Ignore). If I just wait the Task that ViaMaterialized(Sink.Ignore) returns, I wait forever because the stream is not terminated. Any ideas how to do this?
I could enqueue a special message (KillYourself) and raise exception in a Via(x => ...) added at the end of the stream, but it does not feel right.
Bartosz Sypytkowski
@Horusiath
@vasily-kirichenko ISourceQueueWithComplete has Complete method