Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 12 16:38
    Arkatufus synchronize #6063
  • Aug 12 16:05
    Arkatufus synchronize #6063
  • Aug 12 16:02
    Arkatufus synchronize #6063
  • Aug 12 14:22
    Aaronontheweb labeled #6063
  • Aug 12 14:22
    Aaronontheweb labeled #6063
  • Aug 12 14:01
    Aaronontheweb auto_merge_enabled #6063
  • Aug 12 14:01
    Aaronontheweb synchronize #6063
  • Aug 12 13:59

    Aaronontheweb on dev

    Singleton class and settings ba… (compare)

  • Aug 12 13:59
    Aaronontheweb closed #6036
  • Aug 12 13:59
    Aaronontheweb closed #6050
  • Aug 12 13:56
    Arkatufus edited #6063
  • Aug 12 13:54
    Arkatufus commented #6063
  • Aug 12 13:54
    Arkatufus synchronize #6063
  • Aug 12 13:35
    Aaronontheweb auto_merge_enabled #6050
  • Aug 12 13:35
    Aaronontheweb synchronize #6050
  • Aug 12 13:35
    Aaronontheweb commented #6050
  • Aug 12 13:19
    Aaronontheweb synchronize #6063
  • Aug 12 13:09

    Aaronontheweb on dev

    [SBR] Ignore reachability recor… (compare)

  • Aug 12 13:09
    Aaronontheweb closed #6064
  • Aug 12 13:08
    Aaronontheweb milestoned #6064
Thomas Lazar
@thomaslazar
i have a question... i can'T seem to get akka testing to run wiht nunit 3 (any version). i seen there were some fixes done around an issue regarding nunit3... but i can't seem to make it work. anyone got any clues?
Jose Carlos Marquez
@oeaoaueaa
what kind of error are you having?
Thomas Lazar
@thomaslazar
when i try to run the tests the resharper testrunner tells me "no testfixtures" found
Andrey Leskov
@andreyleskov
Hey guys, I'm scaling my application with cluster sharding, and have a look at multinode test kit (http://getakka.net/articles/networking/multi-node-test-kit.html). How it supposed to be debugged? is there any guide? may be runners for Resharper Tests, as for NBench ? (https://github.com/Pro-Coded/Pro.NBench.xUnit) I can imaging only attach VS to multinode test runner, and it seems to be painful and long process. (
Aaron Stannard
@Aaronontheweb
@thomaslazar running .NET Core or .NET desktop?
@andreyleskov debugging MNTR specs is a dark art
having done it for years, I have a couple of approaches I use
first - relying on logging as your primary source of information is the lowest-friction path
trying to debug 4-5 processes running concurrently
is going to end poorly usually
especially if you don't know where the problem is
Andrey Leskov
@andreyleskov
oh, >_< yep
Aaron Stannard
@Aaronontheweb
you can use the child process debugger extension
is a free add-on to Visual Studio
zero clue if that supports .NET Core or not
that can help get the debugger attached to breakpoints in the child process
so my methodology is this: use logging to smoke out the error
the MNTR runner will produce detailed logs for each node
and the overall test run report will show you which nodes had failed assertions
get enough log data to form a theory as to why the thing might be failing
Andrey Leskov
@andreyleskov
ok, thank you for fast and detailed answer! will try the dark art )
Aaron Stannard
@Aaronontheweb
and once you have that, then it becomes more feasible to try and use breakpoints
conditional break points are you best friend here too, btw
should only start firing once you're close to the error condition
multi-node tests, by their very nature, are big and cumbersome
but they're the most reliable way to put real-world theories around handling things like failover, network issues, etc, to the test
Andrey Leskov
@andreyleskov
ok, can I use 1-node cluster in TestKit - based tests for basic functionality verification, using cluster.sharding ?
Aaron Stannard
@Aaronontheweb
so to give you an example of something I'm using the MNTR for in my own application
I have a failover scenario where a cluster singleton has to migrate from one node to another
Andrey Leskov
@andreyleskov
it is interesting
Aaron Stannard
@Aaronontheweb
and the other nodes relying on data from that singleton must be able to receive notifications about the location of the new singleton on the network
I'm going to be using the MNTR to test my recovery mechanism there
because a simple unit test can't do it justic3e
have a similar scenario where the node with the singelton running on it gets blacked out temporarily and comes back
"does my cluster react according to my plan?" is what my MNTR spec tries to answer there
Andrey Leskov
@andreyleskov
ok, it seems I should use MNTR tests only for high-level scenarios, and test all application logic with TestKit
by the way - is there any good profiling tool for akka.net like dotTrace? I'm using NBench to measure performance and looking for a simpler ways to find bottlenecks
or any guide how to analyze akka-based application performance with common tools
best practices, may be
@thomaslazar please provide a minimal example for reproducing the issue
Aaron Stannard
@Aaronontheweb
working on something for doing much more detailed system tracing and monitoring
but it's in early stages still
Andrey Leskov
@andreyleskov
ok, I'm sure it will be great !
Jalal EL-SHAER
@jalchr

Hi @Aaronontheweb
In your post here: https://petabridge.com/blog/intro-to-persistent-actors/ , you mentioned the following:

The PersistenceId and the SequenceNr, together, form the primary key. And the sequence number is a value that monotonically increases in-memory inside the persistent actor - so imagine if you have two actors with the same PersistenceId but different sequence numbers writing to the same store. It will be chaos and will inevitably error out - so that’s why it’s crucial that every PersistenceId be globally unique within your ActorSystem (at least for all actors writing to that store.)

I have a question regarding the "PersistenceId" in Akka.net in a cluster. Does it work like this or should I need a specifier per node ?

Joshua Garnett
@joshgarnett
Good morning everyone
Thusitha
@dnnbuddy
how stable is the .net port of the framework compared with the original akka version? Do we have information on that?
Joshua Garnett
@joshgarnett
1.3 brought in some breaking changes, mostly that was to bring it closer to the originak Akka version
Bartosz Sypytkowski
@Horusiath
@jalchr PersistenceId is an unique logic identifier of a target component, think of it as i.e. user id.
Ricardo Abreu
@codenakama

hey guys, I keep getting this error using actors in a cluster and sending messages:

[ERROR][10/15/2017 11:13:38][Thread 0010][remoting] Cannot find serializer with id [9]. The most probable reason is that the configuration entry 'akka.actor.serializers' is not in sync between the two systems.

however the config is the same in all projects