Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 17:29
    IgorFedchenko commented #4215
  • 17:05
    razvangoga edited #4644
  • 17:04
    razvangoga commented #4215
  • 17:04
    razvangoga opened #4644
  • 15:56
    IgorFedchenko commented #4215
  • 14:45
    eaba commented #3691
  • 14:30
    eaba commented #3691
  • 14:28
    eaba commented #3691
  • 13:22
    razvangoga commented #4215
  • 13:19
    razvangoga commented #4215
  • Nov 28 20:14
    to11mtm synchronize #4642
  • Nov 28 19:46
    to11mtm synchronize #4642
  • Nov 28 19:29
    motmot80 synchronize #4643
  • Nov 28 19:23
    motmot80 edited #4643
  • Nov 28 19:01
    motmot80 opened #4643
  • Nov 28 18:43
    to11mtm synchronize #4642
  • Nov 28 18:11
    motmot80 commented #4641
  • Nov 28 17:48
    to11mtm synchronize #4642
  • Nov 28 16:43
    to11mtm opened #4642
  • Nov 27 23:37
    motmot80 edited #4641
Aaron Stannard
@Aaronontheweb
going to RDP into this build agent and see what's up
I did change the build images yesterday
running VS2015 now
Yin Zhang
@melcloud

@Aaronontheweb Ouch... this is my problem... When the asp.net app dies, the windows service send a message to itself for reconnecting every 20 seconds... which result this:
Akka.Remote.InvalidAssociation: Invalid address: akka.tcp://crmapi@dc:14600 ---> Akka.Remote.Transport.InvalidAssociationException: Association failure ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

Looks like I need to let the IIS app to announce "I am alive" instead...

Aaron Stannard
@Aaronontheweb
wonder if there's something up with running out of disk space or something
going to check the error log
Graeme Bradbury
@GraemeBradbury
@Aaronontheweb from what I can tell it looks like one or both message sinks are hanging on the very first write.
Aaron Stannard
@Aaronontheweb
based on the logs?
Graeme Bradbury
@GraemeBradbury
yeah from the logs.
Both actors share Path.GetFullPath(... and File.WriteAllText(..
Aaron Stannard
@Aaronontheweb
so I RDPed in
looks like the Akka.Cluster test results were written just fine
but never saw any for Akka.Remote
lol damn
every one of these builds creates 1GB of stuff
that includes the source repo
and the output from running .\build.cmd all
Graeme Bradbury
@GraemeBradbury
okay i'm outta ideas, gonna get some sleep.
Aaron Stannard
@Aaronontheweb
@GraemeBradbury So I just noticed that the files actually do get written to disk successfully (RDP into the build server to verify) but this call never appears to return. It's like the process for the multinode test runner never exits.
it never gets a chance to move onto the Akka.Remote multi-node tests though
in case that information helps
Bartosz Sypytkowski
@Horusiath
@cduhard Once we fix issues with our build server, could you try out your issue on the latest version of Akka.Persistence? There were a lot of bug fixes in this area since 1.0.4
Roger Johansson
@rogeralsing
@Horusiath I've published a new version of wire on nuget with our latest changes
Tom Rathbone
@chillitom
with persistent views, is there a way to wildcard the persistent id/name? I'd like to write a projection across many actors' event streams?
Roger Johansson
@rogeralsing
@chillitom afaik it is not possible, persistent views are 1-1 , thats why Typesafe is redesigning this using Akka Streams on the JVM to enable views that are aggregations of multiple sources
but @Horusiath would know more
Samuel Verstraete
@elangelo
anyone ever tried to host WF workflows in akka?
or is there a WF alike functionality?
i don't need the visual stuff of it
just the persistence and the modularity
Tom Rathbone
@chillitom
@rogeralsing thanks, that's interesting, be great to see similar in akka.net ... happy to help out
Q: what's the correct way to configure custom serialization for Akka.Persistence? What interfaces should I implement?
Graeme Bradbury
@GraemeBradbury
@Aaronontheweb So from the logs I can tell that the process for the test runner completes.
process.WaitForExit() returns
Graeme Bradbury
@GraemeBradbury
If an actor is setup with Receive<T>( x => DoSomethingAsync(x)); am I right in thinking that DoSomethingAsync is not going to be observed?
it'll just be a fire and forget into the ether.
Bartosz Sypytkowski
@Horusiath
@chillitom every persistent journal backend may define it's own set of queries, you may use to get overall information across multiple persistent ids
this is in fact what sql-based journals will support soon
Bartosz Sypytkowski
@Horusiath
and when it comes to serializers:
  1. You need to create your own serializer inherinting from Akka.Serialization.Serializer it has to have unique Id in scope of an actor system
  2. You'll need to register it in HOCON config using i.e. akka.actor.serializers.my-serializer-alias = "MyNamespace.MySerializerClass, MyAssembly"
  3. Bind it to particular type of message in HOCON using akka.actor.serialization-bindings { "MyNamespace.MyClass, MyAssembly" = my-serializer-alias }. This binding is inheritance-sensitive and you may apply it to interface, that you can later use to mark each particular data type to be serialized/deserialized with your custom serializer
Tom Rathbone
@chillitom
@Horusiath would there be a way I could bind it to all F# discriminated unions?
Bartosz Sypytkowski
@Horusiath
unfortunatelly not, as discriminated unions don't have single common interface or root. But i.e. you could attach an interface like that:
type MyUnion =
    | A
    | B
    interface ISerializeWithFlatBuffers
Thomas Lazar
@thomaslazar
trying to get a test to log stuff out with nlog so i can see what stuff is happening. but i can't seem to get it to work. did i do anything wrong there?
        public SearchIndexMasterTest()
            : base(@"
                    akka.loglevel = INFO
                    loggers = [""Akka.Logger.NLog.NLogLogger, Akka.Logger.NLog""]
        ")
        {
        }
i have a nlog.config and stuff. and on my web project it's working. just not on the test.
nevermind... i was stoopid
forgot the "akka." before "loggers"
Christian Duhard
@cduhard
@Horusiath I will try it as soon as a new release is up
@Hori
@Horusiath it's definitely broken right now. When a lot of messages are processed quickly the state doesn't get updated until a pause in messages throughput
Christian Duhard
@cduhard
Have there been any memory leak issues?
Thomas Lazar
@thomaslazar
can i specify more then one logger in akka? when i change the logger in my tests to nlog it removes the stdout logger and the EventFilter thing seems to break