Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Apr 06 22:45

    Aaronontheweb on dev

    sharding - release shard lease … (compare)

  • Apr 06 22:45
    Aaronontheweb closed #4369
  • Apr 06 22:45
    Aaronontheweb milestoned #4369
  • Apr 06 22:45
    Aaronontheweb labeled #4369
  • Apr 06 22:45
    Aaronontheweb commented #4363
  • Apr 06 22:31
    yesh-nadella commented #4363
  • Apr 06 22:05
    Arkatufus commented #4368
  • Apr 06 19:55
    zbynek001 opened #4369
  • Apr 06 17:38
    Aaronontheweb assigned #4368
  • Apr 06 17:38
    Aaronontheweb labeled #4368
  • Apr 06 17:37
    Aaronontheweb milestoned #4368
  • Apr 06 17:37
    Aaronontheweb labeled #4368
  • Apr 06 15:07
    PiotrJustyna opened #4368
  • Apr 03 22:24
    huzaifak opened #4367
  • Apr 03 21:45
    Aaronontheweb commented #4344
  • Apr 03 05:55
    Lutando commented #4344
  • Apr 02 17:23
    huzaifak commented #4303
  • Apr 02 17:23
    huzaifak closed #4303
  • Apr 02 02:13
    ShawnYun commented #4366
  • Apr 01 17:18
    huzaifak commented #4303
Natan Vivo
@nvivo
in some cases the envelope is being sent instead of the message
is this a bug?
Aaron Stannard
@Aaronontheweb
could you post your snippet?
because yeah, that should not be happening
I mean the envelope should be passed to the ActorCell
but it shouldn't get passed into the OnReceive method - the actorcell should unpack it
I'll open an issue for that then, ok ?
Aaron Stannard
@Aaronontheweb
do you have a .NET Fiddle that can reproduce this too?
Natan Vivo
@nvivo
I'll provide one
Aaron Stannard
@Aaronontheweb
if you could open an issue and include that - that would be super helpful
Natan Vivo
@nvivo
ok
Aaron Stannard
@Aaronontheweb
thanks Natan
Natan Vivo
@nvivo
np
Aaron Stannard
@Aaronontheweb
so correct me if I'm wrong
but it sounds like an envelope gets wrapped around the other envelope
for some reason
Natan Vivo
@nvivo
It seems to just be missing the ".Message" in the call
so, the method ends up returning the default value
Aaron Stannard
@Aaronontheweb
ah
send a PR too if you can
got it
Natan Vivo
@nvivo
ok
Natan Vivo
@nvivo
I opened an idea on .net fiddle for them to fix the buffering of console.log. this is required in every fiddle we do in for akka.net. would help if people voted so they can prioritize: https://dotnetfiddle.uservoice.com/forums/228764--net-fiddle-ideas/suggestions/7623540-flush-the-console-buffer-after-run
Joshua Benjamin
@annymsMthd
@Aaronontheweb one of my coworkers just showed me some AppDomain stuff. For the multinode tests wouldn't it be easier to load the child nodes up in their own app domain? It would allow us to attach a debugger alot easier
Aaron Stannard
@Aaronontheweb
@annymsMthd you can use the Child Process Debugger in Visual Studio to do the same thing
but the guy you should talk to about redoing the MultiNodeTestRunner is @smalldave
Joshua Benjamin
@annymsMthd
rgr
Aaron Stannard
@Aaronontheweb
let me get you the download link for the multi-node test runner
err
child process debugger
sorry, still on my first cup of coffee
Joshua Benjamin
@annymsMthd
lol same
to answer your question though, I don't know what the downsides would be of using an AppDomain - part of me think it's a better idea to leave this stuff as-is and let each node have its own independent process-level resources
but don't all .NET processes share the same threadpool anyway?
i.e. isn't the CLR threadpool a shared resource across all of them? or is that not right?
Aaron Stannard
@Aaronontheweb
ah, my bad
shared across appdomains
but not processes
my brain this morning http://i.imgur.com/NIOYi.gif
Aaron Stannard
@Aaronontheweb
ok, nevermind - CLR Threadpool and Threads: unique per process, but each AppDomain gets its own FIFO queue for work items
finally
Nikita Tsukanov
@kekekeks
Ehm, you just can't share a thread across processes. Whether ThreadPool is shared between AppDomains depends on CLR host. I. e. custom CLR host can even run multiple CLR threads on one native thread ( see https://msdn.microsoft.com/en-us/library/74169f59.aspx )
Haven't seen such CLR hosts, but still
Aaron Stannard
@Aaronontheweb
@kekekeks yeah I forgot my basic computer organization stuff this morning
thread is a resource of the process
should have been obvious but I drank a lot of wine last night
Nikita Tsukanov
@kekekeks
BTW, on Linux threads are processes that share address space and file descriptors