Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 13 14:40
    cptjazz synchronize #3974
  • Oct 13 14:07
    cptjazz opened #3974
  • Oct 13 08:30
    ismaelhamed commented #3937
  • Oct 12 15:50
    IrvinDominin opened #127
  • Oct 11 18:21
    Aaronontheweb commented #3973
  • Oct 11 18:20
    Aaronontheweb commented #3937
  • Oct 11 18:16
    Zetanova commented #3937
  • Oct 11 18:11
    Zetanova commented #3937
  • Oct 11 15:09
    Aaronontheweb commented #3937
  • Oct 11 15:08
    Aaronontheweb commented #3937
  • Oct 11 14:36
    Aaronontheweb commented #3973
  • Oct 11 01:00
    Horusiath commented #3057
  • Oct 10 20:02
    IgorFedchenko synchronize #3973
  • Oct 10 19:59
    IgorFedchenko synchronize #3973
  • Oct 10 19:58
    IgorFedchenko commented #3973
  • Oct 10 19:53
    IgorFedchenko opened #3973
  • Oct 10 14:04
    stijnherreman commented #3057
  • Oct 10 13:54
    Aaronontheweb commented #3970
  • Oct 10 13:54
    Aaronontheweb synchronize #3970
  • Oct 10 10:10
    Zetanova commented #3937
me-slove
@me-slove
@Aaronontheweb Good cluster article but it did leave one interesting question unanswered (unless I missed it). How do routers handle these comings and goings? It seems that your handler example would work very well for a "roll your own" controller/router
Aaron Stannard
@Aaronontheweb
I think I mentioned how the built-in routers handle it in passing
let me see if I can dig that up real quick
it was only a sentence
or so
Other tools, like clustered routers, deal with network partitions by simply not routing new messages to unreachable nodes. If an unreachable node comes back, the routers will add those nodes back to the routing table and resume delivering messages.
so I actually have a series of "proper care and feeding of Akka.NET Cluster" posts stubbed out
me-slove
@me-slove
thank you for finding it. more coffee when reading I guess :)
Aaron Stannard
@Aaronontheweb
I pulled that first one and published it because my original post was getting pretty large
other topics I plan on addressing: Starting and Killing Nodes Gracefully
cluster planning and design - understanding how the connectivity model of Akka.Remote and Akka.Cluster works
so that one is drilling into things like "don't use load balancers" and such
and later in the summer I want to get into some DevOps type stuff with the cluster
monitoring and deployment
me-slove
@me-slove
If you are looking for a priority vote, I vote for design and planning. specific why and why not use certain architectures and their trade offs.
Aaron Stannard
@Aaronontheweb
yeah I can do something more general too
mostly I started writing these posts not because the underlying technology is complicated
me-slove
@me-slove
For me, that's the hardest part right now. Deciding whether to use a cluster or not or just remoting
Aaron Stannard
@Aaronontheweb
but rather because using that technology requires developers to approach the problems in ways that are pretty novel compared to good, old-fashioned web applications
me-slove
@me-slove
I don't like pools so only use groups
Aaron Stannard
@Aaronontheweb
and I wanted to help fill some of the conceptual gaps between what most .NET developers already know how to do
vs. what using a tool like Akka.NET or Akka.Cluster can help you do when you use it the way it's intended to be used
"not better or worse, but simply different"
me-slove
@me-slove
also another vote, more like your "futures" video where you talked through the industry/technology changes. that was very enlightening
you see so many projects it's nice to get a broader view
Aaron Stannard
@Aaronontheweb
which video was that?
was that a .NET Fringe talk from a few years back?
me-slove
@me-slove
let me get the link but it was talking about docker/cassandra/etc.
Aaron Stannard
@Aaronontheweb
ohhhhhhhh
that was my talk at the Cassandra Conference
me-slove
@me-slove
yep. that's it
Aaron Stannard
@Aaronontheweb
nice
I can certainly do more of that
way easier than writing a tutorial!
:p
@sbacquet I didn't realize they were skipped; must be some more hardening required for those specs
I want to get that stuff out of beta ASAP
decoupling Akka.Cluster.Sharding from Akka.Persistence is a win-win for many users
DData is essential to doing that
I wish I could offer a timeline on when that would happen
but I'm spread pretty thin at the moment and I know @Horusiath is hard at work on the multi-datacenter cluster stuff we're including in the Akka.NET v1.4 release
Sebastien Bacquet
@sbacquet
Ok thank you @Aaronontheweb for your answer.
Re-enabling the tests could be a good first move on the path of making DData official, at least to ensure that no major regression is introduced.
Aaron Stannard
@Aaronontheweb
gotta debug them too
there's a reason they're disabled
hectorcaban
@hectorcaban

private void CreateChildUserIfNotExists(int userId)
{
if (!_srdapclients.ContainsKey(userId))
{
IActorRef newChildActorRef =
Context.ActorOf(Props.Create(() => new SRDAPClient(userId)).WithRouter(FromConfig.Instance), "SRDAPClient" + 1);

            _srdapclients.Add(userId, newChildActorRef);

            ColorConsole.WriteLineYellow(string.Format("UserCoordinatorActor created new child UserActor for {0} (Total SRDAPClient: {1})", userId, _srdapclients.Count));
        }
    }

if I am trying to configure round-robin using Hokon.

/SRDAPClient {
router = round-robin-pool
nr-of-instances = 5
routees.paths = ["/SRDAPCoornator/SRDAPClient/*"]
}

Stephen Riley
@stephen-riley
Hi gang, got a question about contexts (Contexts?) inside lambdas in Akka.net. I am trying to do a Tell() inside a ContinueWith( ...lambda... ) and the message always comes from deadLetters. However, when I put a self (closed over copy of Self) as the explicit sender in the Tell(), it works fine.
hectorcaban
@hectorcaban
since the actors are created dynamically, how do I configure the Hokon ?
Stephen Riley
@stephen-riley
So my question is, how does the Tell() work under normal circumstances when you don't give it an explicit sender?!