Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 05:50

    dependabot-preview[bot] on nuget

    Bump FSharp.Core from 4.7.2 to … (compare)

  • 05:50
    dependabot-preview[bot] labeled #4586
  • 05:50
    dependabot-preview[bot] opened #4586
  • 05:43

    dependabot-preview[bot] on nuget

    (compare)

  • 05:43
    dependabot-preview[bot] closed #153
  • 05:43
    dependabot-preview[bot] commented #153
  • 05:43
    dependabot-preview[bot] labeled #154
  • 05:43
    dependabot-preview[bot] opened #154
  • 05:43

    dependabot-preview[bot] on nuget

    Bump Mongo2Go from 2.2.12 to 2.… (compare)

  • 00:52
    seunghalee91 opened #4585
  • Oct 19 13:31
    to11mtm edited #4584
  • Oct 19 13:31
    to11mtm opened #4584
  • Oct 19 06:26
    Bishnup1995 commented #3784
  • Oct 19 05:49
    dependabot-preview[bot] labeled #153
  • Oct 19 05:49
    dependabot-preview[bot] opened #153
  • Oct 19 05:49

    dependabot-preview[bot] on nuget

    Bump Mongo2Go from 2.2.12 to 2.… (compare)

  • Oct 18 04:08
    mrxrsd commented #2784
  • Oct 17 20:36
    to11mtm synchronize #4581
  • Oct 17 20:26
    to11mtm synchronize #4581
  • Oct 17 19:54
    to11mtm edited #4581
Zetanova
@Zetanova
Agents or actors?
Nicolas Bourbaki
@b0urb4k1
actors sorry
I was thinking if they are lightweight enough to use them for agents in a multi agent system.
I would assume though that if you would like to do that you would write your own dispatcher for it.
Zetanova
@Zetanova
not big, i little bigger then a normal object, plus some registration in lists
yes, the are very light in this sence
over a count of 100k you would need to think about memory
Nicolas Bourbaki
@b0urb4k1
Ok :)
Zetanova
@Zetanova
but i dont know the exact byte count for each in avg.
i am loading ~1000 per each aggregate root type
and the app has still low memory consumation
messages are short lived and most likly removed on Gen0 GC
Nicolas Bourbaki
@b0urb4k1
Are there any multi agent systems that use Akka.net?
Zetanova
@Zetanova
multi tenant?
Zetanova
@Zetanova
yes, akka.net is perfect for it
Nicolas Bourbaki
@b0urb4k1
But you have shared state in form of the world state.
Zetanova
@Zetanova
or an other actor-model system
world => actor
can be a singleton service t0o, but better an actor
Nicolas Bourbaki
@b0urb4k1
Ok but i guess you need to throw away determinism then.
Zetanova
@Zetanova
not realy
Nicolas Bourbaki
@b0urb4k1
Lets say you wanted to model something like a board game.
Then you need the sequence of actions of several of the actors.
Zetanova
@Zetanova
then the board can sync the steps or a child of board-actor
Nicolas Bourbaki
@b0urb4k1
Oh!
What is the name of the class i need to look up?
Zetanova
@Zetanova
?
ActorBase
most likly
Christian Duhard
@cduhard
If I send a RoundRobin router a PoisonPill.Instance i assume they all get the PoisonPill?
Christian Duhard
@cduhard
are there any examples on how to use GracefulStop correctly?
Aaron Stannard
@Aaronontheweb
@cduhard if you PoisonPill the router the router dies
and so do all of its routees
if it's a pool router
Christian Duhard
@cduhard
k it is
Aaron Stannard
@Aaronontheweb
for using GracefulStop
how that works by default is it PoisonPill's the target actor
Christian Duhard
@cduhard
@Aaronontheweb i am mostly not sure what to do with the Tasks if I have numerous children to stop
Aaron Stannard
@Aaronontheweb
and you the Task<bool> returns true if the temporary actor created by the GracefulStop call, kind of like the temporary actors created by Ask, gets a Terminated message
Christian Duhard
@cduhard
say for instance I have
Actor2.GracefulStop(TimeSpan.FromSeconds(10));
Actor3.GracefulStop(TimeSpan.FromSeconds(10), new Shutdown());
when all gracefulstop Tasks are complete I need to send a Passivate type message
i guess this is more about my shitty async skills than anythig
Christian Duhard
@cduhard
I assume sending a poisonPill just effects that actor and not it's watched children
Aaron Stannard
@Aaronontheweb
@alexvaluyskiy that's the goal
Christian Duhard
@cduhard
@Aaronontheweb so the bool returned from GracefulStop just tells me if the stop was actually graceful and didn't time out?
Aaron Stannard
@Aaronontheweb
bool == false if it timed out
didn't shut down in time
bool == true if it did
Christian Duhard
@cduhard
so its still running if it's false?