Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 01:23
    Aaronontheweb opened #4729
  • 00:39
    Aaronontheweb closed #4728
  • 00:26
    Aaronontheweb labeled #4728
  • 00:26
    Aaronontheweb opened #4728
  • 00:16
    dependabot-preview[bot] synchronize #4612
  • 00:16

    dependabot-preview[bot] on nuget

    Bump System.Configuration.Confi… (compare)

  • 00:16
    dependabot-preview[bot] synchronize #4718
  • 00:16

    dependabot-preview[bot] on nuget

    Bump NUnit from 3.7.1 to 3.13.0… (compare)

  • 00:16
    dependabot-preview[bot] edited #4718
  • 00:16
    dependabot-preview[bot] edited #4612
  • 00:15
    Aaronontheweb commented #4454
  • 00:15
    dependabot-preview[bot] edited #4718
  • 00:15
    dependabot-preview[bot] edited #4612
  • 00:15

    Aaronontheweb on dev

    close #4454 - added full ASP.NE… (compare)

  • 00:15
    Aaronontheweb closed #4727
  • 00:15
    Aaronontheweb closed #4454
  • Jan 19 23:43
    Aaronontheweb labeled #4727
  • Jan 19 23:36
    Aaronontheweb synchronize #4727
  • Jan 19 23:35
    Aaronontheweb opened #4727
  • Jan 19 23:27
    Aaronontheweb closed #3114
Stefan Sedich
@stefansedich
blob
This message was deleted
This message was deleted
This message was deleted
oops
fresh VM to build under Mono 4.3 is not just a script away!
hopefully I have as much luck with the tests this time around.
Stefan Sedich
@stefansedich
nope, errors, errors everywhere.
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