Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 17:53
    Aaronontheweb closed #3972
  • 17:53
    Aaronontheweb commented #3972
  • 17:53
    Aaronontheweb closed #3976
  • 17:53
    Aaronontheweb commented #3976
  • 17:40

    Aaronontheweb on dev

    cleaned up some samples to use … (compare)

  • 17:40
    Aaronontheweb closed #3975
  • 16:33
    IgorFedchenko synchronize #3973
  • 16:31
    IgorFedchenko synchronize #3973
  • 14:04
    wsvdyk opened #3976
  • Oct 14 21:02
    Aaronontheweb synchronize #3975
  • Oct 14 21:02
    Aaronontheweb opened #3975
  • Oct 14 20:11
    IgorFedchenko commented #3973
  • Oct 14 20:10
    IgorFedchenko synchronize #3973
  • Oct 14 20:06
    IgorFedchenko synchronize #3973
  • Oct 14 20:06
    IgorFedchenko synchronize #3973
  • Oct 14 19:42
    IgorFedchenko edited #3973
  • Oct 14 18:08
    Aaronontheweb commented #3937
  • Oct 14 17:27
    Aaronontheweb commented #90
  • Oct 14 17:26
    Aaronontheweb commented #90
  • Oct 14 17:25
    Aaronontheweb assigned #90
Alan Hemmings
@goblinfactory
@goblinfactory aaah, of course. I totally misread the error message in the console window, I was thinking it was being thrown inside the StringLengthCounter. That's it alright, thank you! Thank you! Lost an evening of akka coding because of that blindspot. :D
Alan Hemmings
@goblinfactory
Hi all, if I create the following IActorRef extension method, would it screw up the stacktrace and, would that matter at all?
public static void TellOrIgnore(this IActorRef actor, object message) { if (message is null) return; actor.Tell(message); }
Kosta Petan
@kostapetan
Hey guys, job post ahead.
We are a small Swedish company called Record Union that does Music Distribution.
Currently, we are hiring backend developers who won't mind picking a fight with our interesting stack, which includes Akka.net, Kubernetes, GCP and a dash of F# here and there.
If this seems like something you are excited to do, it's probably because it really is.
Full disclosure: I am the Technial Lead and I've kindly asked @Aaronontheweb if it's ok to post a job add here.
Jonas
@jonasro_twitter
I am working with Akka.Io these days and are trying to make my tcp listener as bulletproof as possible with regards to network issues or similar. Does anyone here know of any guidance/articles/blog posts available on this topic or have some general tips for me?
Arsene T. Gandote
@Tochemey
Hello geeks. I would like to know how I can integrate the DI of Akka.NET and NetCore DI. Thank you
BlueManiac
@BlueManiac
BlueManiac
@BlueManiac
I'm currently working on a solution using akka.IO tcp. We receive one message that is around 800 bytes, this message is delivered as 3 messages in the actor. I guess that is because of a buffer size setting in akka somewhere. I would like this to be received as one message instead and can't for my life find any documentation on where to set the buffer size. Do anyone have any suggestions? btw. akka.net is awsome, i'm in love.
Aaron Stannard
@Aaronontheweb
@BlueManiac I'm looking at some of our code for that now; let me check
but yeah, the buffer size is something small
Bartosz Sypytkowski
@Horusiath
Regarding Akka.IO - there's a streaming article on that.
The implementation itself probably needs some hardening, and could be further optimized (even thou it's quite fast right now). We got some bugs fixed, that will come in the upcoming release.
Aaron Stannard
@Aaronontheweb
I added a model-based spec for that bytebuffer stuff; turns out it was an issue with my serializer
not an issue with Akka.IO
so I think I can close that issue out
I'll know for certain later today
petabridge/petabridge.cmd-issues#21 - parent issue
Suresh M
@Tamila0701_twitter
I'm currently working on akka.net project. I'm getting an error stating that "One or more errors occurred. A task was canceled." and there is no stack trace for this error. Do anyone have any suggestions?
Aaron Stannard
@Aaronontheweb
need to add a lot more detail than that
when does that happen, what are you trying to do, what's the error message look like, etc...
sounds like something internally that depends on the TPL timed out
Suresh M
@Tamila0701_twitter

void Wait(IActorRef target, IConfiguration config)
{
try
{
var currentState = target.Ask<States>(new CurrentState(), TimeSpan.FromMinutes(1));
currentState.Wait();

            if (currentState.Result == States.Idle)
            {
                return;
            }

...........
...........

Getting error when currentState.Wait() is executed.

Bart de Boer
@boekabart
You get an AggregateException , most likely, you can inspect its InnerExceptions . Does it take about a minute for this to happen? If so, it's just the timeout cancelling the task.
Maxim Cherednik
@maxcherednik
hi. I was wondering what is the API of Ask?
Aaron Stannard
@Aaronontheweb
the API?
Maxim Cherednik
@maxcherednik
I didn't manage to find from the C# doc
Aaron Stannard
@Aaronontheweb
ah yeah
Maxim Cherednik
@maxcherednik
hey Aaron
Aaron Stannard
@Aaronontheweb
it's an extension method
Maxim Cherednik
@maxcherednik
but do we follow the .net thing
let me explain
Aaron Stannard
@Aaronontheweb
Maxim Cherednik
@maxcherednik

I read it this way: public static Task<object> Ask(this ICanTell self, object message, TimeSpan? timeout, CancellationToken cancellationToken)

Aha. returns task and takes CancellationToken - meaning it can throw OperationCancelledException
Takes timeout - highly likely should throw AskTimeoutException

is this correct?
or I get the result which is true/false
in this case I fully control the flow and can reason about any outcome.
Suresh M
@Tamila0701_twitter
Thanks Bart, there are multiples threads with same Actor and not able find why this is happening. Even though it is in the try block, error is not handled and System actor is stopped. Any suggestions to handle it.
Aaron Stannard
@Aaronontheweb
@maxcherednik I think we have an open issue and PR for that open at the moment
not sure on what the current status is :p
Maxim Cherednik
@maxcherednik
yeah, I do remember I've seen it somewhere
and according to the code we don't do what I described
it seems it's cancelling the task after timeout, which is not completely correct
ok. one more question then: why I can't build the solution on mac? there is still this .nuget folder in the solution which is empty, but in the solution file it expects some files to be there
dferrell
@dferrell
I have two applications that i am converting to akka.net and will be using clustering on both. Would it be best practice to give each cluster it's own system name and run separate lighthouse instances for each cluster system name or use the same system name and seed node config for both apps while using roles to isolate the two applications from each other?
Aaron Stannard
@Aaronontheweb
ok. one more question then: why I can't build the solution on mac? there is still this .nuget folder in the solution which is empty, but in the solution file it expects some files to be there
you should be able to
we're able to build it from the commandline at least on both Windows and Linux
are you trying to open it in an emulated VS instance?
Maxim Cherednik
@maxcherednik
nope, just vs 2017 for mac
Bart de Boer
@boekabart
vs2017 for mac, afaik, is specifically targeted at x-platform app development