Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 12:26
    ismaelhamed commented #4588
  • 10:15
    wasphub commented #4588
  • 04:48
    Swoorup commented #4419
  • 01:36
    Aaronontheweb commented #1692
  • 01:08
    Aaronontheweb labeled #4590
  • 01:08
    Aaronontheweb labeled #4590
  • 01:08
    Aaronontheweb assigned #4590
  • 01:08
    Aaronontheweb opened #4590
  • 01:04
    Aaronontheweb milestoned #4589
  • 01:04
    Aaronontheweb labeled #4589
  • 01:04
    Aaronontheweb assigned #4589
  • 01:04
    Aaronontheweb labeled #4589
  • 01:04
    Aaronontheweb opened #4589
  • 01:02
    Aaronontheweb demilestoned #4375
  • 01:02
    Aaronontheweb milestoned #4375
  • 01:02
    Aaronontheweb labeled #4375
  • 00:28
    Aaronontheweb labeled #4568
  • 00:28
    Aaronontheweb assigned #4568
  • 00:28
    Aaronontheweb closed #3538
  • 00:28
    Aaronontheweb commented #3538
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
Aaron Stannard
@Aaronontheweb
literally processes (like, would they show up on ~ ps) ?
Nikita Tsukanov
@kekekeks
They have PID and you can see them in htop
Aaron Stannard
@Aaronontheweb
ah got it, so they're implemented as just what - micro processes effectively?
Nikita Tsukanov
@kekekeks
Just regular processes
Aaron Stannard
@Aaronontheweb
but with shared address space and process-level resources as the parent
Nikita Tsukanov
@kekekeks
That's why you don't use calls like fork from Mono
I think it's implemented like namespaces (i. e. groups of processes that have different network stacks, process PID space, etc)
Aaron Stannard
@Aaronontheweb
looks like we accidentally run the tests for Akka.Cluster 3 times in our builds.... FAKE picks it up three times (because it also gets used inside the multinode testkit)
and our build runner crashes on one of those runs, after successfully completing the tests a previous time