These are chat archives for akkadotnet/akka.net

28th
Jun 2017
Голодный Монстр
@Kalinin_Aleks_twitter
Jun 28 2017 04:54
hello,
somebody has encountered a problem with the system start?
Sometime I gets the exception during start of actor system System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: failed to create a child event loop. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
error comes from endpointManager
Голодный Монстр
@Kalinin_Aleks_twitter
Jun 28 2017 04:59
Also the log contains "Remoting error: [Startup failed] []" before
Andrey Leskov
@andreyleskov
Jun 28 2017 11:24
Hi all, I'm thinking about indepotent commands for persistence actors. If we have a command identified by unique id, I want to save it produced events only once regardless how many times we will sent it to persistence actor
How it can be archived? It seems I need a new constraint on DB level and support from journal actor
for example introduce additional column "Source command id" and change PK constraint from "Persistence id + SequenceNr" to "Persistence id + SequenceNr + Source command id "
Andrey Leskov
@andreyleskov
Jun 28 2017 11:35
journal actor will raise a PK violation error, sends it back to persistence actor. Persistence actor will delete it uncommitted events with faulty command id in response.
Andrey Leskov
@andreyleskov
Jun 28 2017 11:43
egh, suggest PK will not work - SequenceNum will always increase... I'm open for any suggestions )
Stephen Newman
@goodisontoffee
Jun 28 2017 12:33
I've been doing some more digging into akkadotnet/Hyperion#58 if @Horusiath could take a look and let me know if I'm on the right track or am straying off into unpleasantness ;)
Bartosz Sypytkowski
@Horusiath
Jun 28 2017 12:58
@goodisontoffee thanks. I'll try to work on it later today
Stephen Newman
@goodisontoffee
Jun 28 2017 12:59
@Horusiath That would be awesome, let me know if I can help
Soundman32
@Soundman32
Jun 28 2017 16:04
I've been tasked with using Akka.net to communicate with other TCP servers. I've got something working, but my actual target service uses SSL. I can't find anything about SSL with Akka, apart from a bit about Akka.Remoting. What's the recommended way of converting a System.Tcp() actor into something that can talk SSL?
Aaron Stannard
@Aaronontheweb
Jun 28 2017 20:40
@/all Akka.NET v1.2.2 is now going live: akkadotnet/akka.net#2810 - should be on NuGet momentarily
verified the fix for the node stuck joining issue thoroughly this team via an end-user acceptance test and some model-based tests
this patch includes a few different Akka.Cluster fixes and one very minor Akka.Persistence fixe
Aaron Stannard
@Aaronontheweb
Jun 28 2017 20:47
@Soundman32 not sure what our plans are with Akka.IO and supporting tls
probably not going to make it into 1.3
you can always use DotNetty though, which is what Akka.Remote uses under the hood
the set of Akka.IO changes that are making it into 1.3 are pretty big though, mostly improving its performance and API design: akkadotnet/akka.net#2683