Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 18:11
    Aaronontheweb commented #4742
  • 17:03
    Horusiath commented #4742
  • 16:10

    Aaronontheweb on dev

    Update cluster-overview.md (#47… (compare)

  • 16:10
    Aaronontheweb closed #4743
  • 16:10
    Aaronontheweb labeled #4743
  • 15:55
    to11mtm commented #4742
  • 14:16
    brah-mcdude opened #4743
  • 06:11
    Horusiath commented #4742
  • 06:07
    Horusiath commented #4742
  • Jan 23 19:44
    to11mtm synchronize #4742
  • Jan 23 19:22
    to11mtm commented #4742
  • Jan 23 18:29
    to11mtm commented #4737
  • Jan 23 18:16
    to11mtm commented #4736
  • Jan 23 18:11
    to11mtm edited #4736
  • Jan 23 18:00
    to11mtm review_requested #4742
  • Jan 23 17:59
    to11mtm edited #4742
  • Jan 23 17:58
    to11mtm review_requested #4742
  • Jan 23 17:52
    to11mtm opened #4742
  • Jan 23 03:10
    seungyongshim edited #4733
  • Jan 22 18:02
    IgorFedchenko closed #4738
Steffen Forkmann
@forki
@Aaronontheweb when does this happen? On CI?
Steffen Forkmann
@forki
Or during VS build?
Philip Laureano
@philiplaureano
As discussed, here you go, Andrew--this one is the issue about using alternative config formats besides HOCON: akkadotnet/akka.net#1450
Steffen Forkmann
@forki
@Aaronontheweb akkadotnet/akka.net#1451
Bartosz Sypytkowski
@Horusiath
@BrainSlugs83 we'll have cluster singletons as part of Akka.Cluster.Tools plugin. Most of it is already done (including cluster singleton), we just need to write the rest of test specs for them.
Thomas Lazar
@thomaslazar
ok. as soon as i specify any kind of akka.loggers in my test class the EventFilter assertion stuff breaks. even if i specify Akka.Event.StandardOutLogger
anyone know what's up with that?
Arjen Smits
@Danthar
Implemented a retrying-exponentialbackoff-supervisor. Not meant to be a one-size-fits-all solution. But might be interesting to some ppl nonetheless. https://gist.github.com/Danthar/82e89eff01ba1eb1d4c3
Tom Rathbone
@chillitom
sending Update() to a PersistentView doesn't appear to have any effect.. could I be doing something wrong? Looking through the source of PersistentView I can't find anywhere where it handles this message type.
Weston
@ronnyek
is there any chance akka runs under coreclr?
Graeme Bradbury
@GraemeBradbury
@ronnyek don't know if anyones tried.
Weston
@ronnyek
maybe I'll take a crack at it
does it run under mono to your knowledge
Graeme Bradbury
@GraemeBradbury
:+1: tell us how you get on, would be interested to hear how it goes.
I think stefansedich is working on getting 4.3 to work.
tru3d3v
@tru3d3v

Hi, is it possible if i send text file (133KB) from akka server to client Akka ?. i have try but client is not respond

public class HelloActor : UntypedActor
{
public HelloActor()
{
}

protected override void OnReceive(object request)
{
var data = System.IO.File.ReadAllText(AppDomain.CurrentDomain.BaseDirectory+"myfile.txt");
Sender.Forward(data);
}

}
var actor = System.ActorSelection("HelloActor");
return await actor.Ask<string>(null, TimeSpan.FromHours(1));
is it to large for 133 KB txt file ?
and this is my config hocon at server
remote {

    log-sent-messages = on
    log-received-messages = on
    maximum-frame-size = 10MB
thedarkdestructor
@thedarkdestructor
Hi guys. Anyone know a link for a good tutorial for a akkadotnet FSM? I have only seen the official documentation but it is quite poor...
Bartosz Sypytkowski
@Horusiath
@chillitom Update on PersistentView triggers it to send ReplayMessages message to the journal. In result it replays events that happened from the last replayed message received
tru3d3v
@tru3d3v
Guys. Anyone can explain about large message ? is it to large for 133 KB txt file
???
Aaron Stannard
@Aaronontheweb
@forki thanks! this was on VS build
@tru3d3v 10mb isn't a valid value for that setting
it's expressed as "total bytes"
public long? GetByteSize()
        {
            var res = GetString();
            if (res.EndsWith("b"))
            {
                var v = res.Substring(0, res.Length - 1);
                return long.Parse(v);
            }

            return long.Parse(res);
        }
Aaron Stannard
@Aaronontheweb
so you need to multiply 10 1024 1024 to get 10mb :p
bah, stupid markdown
10 * 1024 * 1024
Stefan Sedich
@stefansedich
or be greedy and go for 1000
Aaron Stannard
@Aaronontheweb
@BrainSlugs83 another hack I've seen for doing this is pinning your "singleton" to the Akka.Cluster leader
you can use gossip messages to tell if a given node is the leader
and when leader == self then create singleton
otherwise have everyone else look for it
there's only 1 leader in the cluster at any time
and leaders change only when the previous leader was gracefully terminated or forcibly removed by a human
which is why that hack works pretty well
Aaron Stannard
@Aaronontheweb
@Horusiath nightlies should be working again now
kicking one off
Stefan Sedich
@stefansedich

@ronnyek @GraemeBradbury I am working on getting it to build and run tests which is a nightmare, for one it won't even build under mono 4.2 as some methods used in the IO stuff is not even in mono 4.2 and was only added a month ago.

would be scary to run it without knowing it builds and all tests pass as who knows what is missing at runtime.

Mikey
@BrainSlugs83
@Horusiath, thanks for the heads up -- @Aaronontheweb -- double thanks, that seems like it will work well -- especially with a persistent actor (new singleton comes up and will get the last committed state) -- I'm thinking if a node gets a message that it's no longer the leader it should stop the singleton actor too...
Is there anyway to specify that certain roles cannot be the leader? (I have some roles in my cluster that are transient.)
(Or the opposite of that, to declare: "only these roles can be the leader?" -- black-list or white-list works for me, just need to keep the transients from becoming leaders.)
Aaron Stannard
@Aaronontheweb
heh, that's a good question - no, there isn't at the moment
typically though, one of your seed nodes will almost always be your leader
so just boot the non-transient ones first
the other thing you can do... just thinking about this
is have the leader, whoever it is
it can be any type of node
use a clustered router to deploy your "singleton" actor onto a specific type of role
like instead of having that actor run on the leader itself
the leader instead just becomes responsible for 1. checking if that actor has already been deployed and then 2. deploying it onto a specific role if it hasn't