Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 21 15:57
    Aaronontheweb closed #3877
  • Oct 21 15:57
    Aaronontheweb commented #3877
  • Oct 21 15:56

    Aaronontheweb on dev

    Persistence TestKit documentati… (compare)

  • Oct 21 15:56
    Aaronontheweb closed #3889
  • Oct 21 07:27
    dependabot-preview[bot] labeled #3999
  • Oct 21 07:27

    dependabot-preview[bot] on nuget

    Bump FluentAssertions from 4.14… (compare)

  • Oct 21 07:27
    dependabot-preview[bot] opened #3999
  • Oct 20 17:25
    valdisz synchronize #3889
  • Oct 20 17:17
    valdisz synchronize #3889
  • Oct 20 15:44
    valdisz synchronize #3889
  • Oct 20 09:22
    ismaelhamed commented #3863
  • Oct 19 23:39
    valdisz synchronize #3889
  • Oct 19 23:08
    edvinasz commented #2947
  • Oct 19 13:36
    Aaronontheweb commented #3973
  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3995
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump BenchmarkDotNet from 0.10.… (compare)

  • Oct 19 13:34
    dependabot-preview[bot] edited #3995
  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3993
  • Oct 19 13:34

    dependabot-preview[bot] on nuget

    Bump Google.Protobuf from 3.9.1… (compare)

  • Oct 19 13:34
    dependabot-preview[bot] synchronize #3991
Yin Zhang
@melcloud
@Horusiath great! thanks
Tom Rathbone
@chillitom
@Horusiath just trying to implement a persistent actor using the existing Akka.FSharp .. I see what you mean now!
Abdulrahman Hawa
@abed-hawa

Hi guys, I have a weird problem with my actor, it keeps saying started then stopped, but I have no clue whats happening under the hood:

2015-11-18 16:23:57.6168|DEBUG|Akka.Remote.Transport.ProtocolStateActor|Started (Akka.Remote.Transport.ProtocolStateActor)
2015-11-18 16:24:27.6578|DEBUG|Akka.Remote.Transport.ProtocolStateActor|Stopped
2015-11-18 16:24:42.6344|DEBUG|Akka.Remote.Transport.AkkaProtocolManager|now supervising akka://converter/system/transports/akkaprotocolmanager.tcp.0/akkaProtocol-tcp%3a%2f%2fconverter%40192.168.56.1%3a60161-107
2015-11-18 16:24:42.6344|DEBUG|Akka.Remote.Transport.ProtocolStateActor|Started (Akka.Remote.Transport.ProtocolStateActor)
2015-11-18 16:25:12.6871|DEBUG|Akka.Remote.Transport.ProtocolStateActor|Stopped
2015-11-18 16:25:27.6402|DEBUG|Akka.Remote.Transport.AkkaProtocolManager|now supervising akka://converter/system/transports/akkaprotocolmanager.tcp.0/akkaProtocol-tcp%3a%2f%2fconverter%40192.168.56.1%3a60162-108
2015-11-18 16:25:27.6402|DEBUG|Akka.Remote.Transport.ProtocolStateActor|Started (Akka.Remote.Transport.ProtocolStateActor)

It's doing the start/stop on every message sent, but actor doesn't execute, how can I probably check whats happening?
Roger Johansson
@rogeralsing
@abed-hawa maybe it throws an exception in its constructor?
Abdulrahman Hawa
@abed-hawa

@rogeralsing I'm initialising my actor like this:
ActorSystem = ActorSystem.Create("converter", config);
actor = ActorSystem.ActorOf<App_Code.ActorName>("ActorName");

its not raising any exceptions

How can I log an exception like that if its happening in realtime?
runtime*
Tom Rathbone
@chillitom
if I load a persistent actor and immediately send it some messages to process followed by a GracefulStop it appears that the actor stops without processing any messages from the inbox.. is this to be expected?
Tom Rathbone
@chillitom
is there any way to disable type naming in the JSON serialization? why is this needed?
Dmitriy Tadyshev
@ditadi
@rogeralsing It seems like Wire serializer fails for FSharpSet, I cloned wire repo and wrote quick test. Is it supposed to work with FSharp sets yet?
I tested a FSharp list and that works just fine, I may just refactor my code to use a list instead of set for now.
Aaron Stannard
@Aaronontheweb
@abed-hawa check the message
not the actor
Aaron Stannard
@Aaronontheweb
@Aaronontheweb
hmmm... I've seen the multi-node test runner hang twice on this:Step 1/1: Writing test state to: D:\BuildAgent\work\49b164d63843fb4\TestResults\Akka.Cluster.Tests.MultiNode-635834644789423697.json
including right now
literally just writing to a file
Aaron Stannard
@Aaronontheweb
logged #1433 for it
just saw it happen again
really weird
@chillitom in order for serialization to be fully transparent, it must be fully qualified
all statically typed, in other words
although I thought the Google Protocol Buffer envelope around the JSON blob had the type name burned into it
so it may not be necessary to do it again inside the JSON
that's a better question to ask @rogeralsing
Roger Johansson
@rogeralsing
@chillitom we need to support subtype serialization. e.g. if you have a property of type animal but the value is of type cat, then the deserializaed value needs to be materialized back as cat
Aaron Stannard
@Aaronontheweb
@rogeralsing thanks :+1:
Roger Johansson
@rogeralsing
also if you have arrays of objects, like we do for constructor arguments for remote deployment, then we need the type for all the args
Tom Rathbone
@chillitom
okay, makes sense
do you think it could be exposed as an option? we are simply using f# discriminated unions as 'Event types, would be nice if they could be kept short and sweet
in the postgres adaptor theres a comment about restricting the ticks column
Bartosz Sypytkowski
@Horusiath
@chillitom in general, when you use persisted events, never let other party decide how should they be serialized
use your own serializer instead
Aaron Stannard
@Aaronontheweb
cc @davidflerlage regarding Postgres plugin
Tom Rathbone
@chillitom
was wondering if someone could explain "restricting created_at_ticks to the range [0,10) to ensure that there are no precision differences in the opposite direction"
I haven't applied such a constraint in the MySQL adaptor as unsure of the reasons behind it
Tom Rathbone
@chillitom
@Horusiath thanks for the advice, I'll do that
Aaron Stannard
@Aaronontheweb
man, I can't get a single build to pass right now with all of these racy spec failures
even a PR for fixing one of them! :p
only happens on the el cheapo Azure boxes
and not my dev machine
Christian Duhard
@cduhard
Has anyone seen an issue in Akka.Persistence where the state update falls behind writing to the persistence store?
it seems UpdateState is falling behind on hight throughput
Persist claims this shouldn't happen (obv)
Yin Zhang
@melcloud
Hi guys, I need some help with IIS and actor system. Last night, I receive Information regarding "Remoting shutdowon" from my asp.net application, and then my windows service which connects through akka remote throws AssociationError. The problem is that once the remote shutdown in asp.net application, it doesn't come back until I hit the IIS with a http request. Is there anyway I can make sure that the actor system will be restart in this case?
Aaron Stannard
@Aaronontheweb
yep, so this is a common issue with IIS
you basically have to configure IIS to never, ever, under any circumstances, recycle your ASP.NET application if it goes idle
Yin Zhang
@melcloud
@Aaronontheweb I try to set the idle time to zero, but it still happens...
Christian Duhard
@cduhard
state changes can't happen our of order
*out
Yin Zhang
@melcloud
@Aaronontheweb Maybe I should write another windows service which request the http end pint X time a day?