These are chat archives for akkadotnet/akka.net

16th
Nov 2017
Bartosz Sypytkowski
@Horusiath
Nov 16 2017 06:09
@HermansG order is always preserved when send between pair of actors. So if A → B with messages 1, 2, 3, you can be sure that B receives 1, 2, 3 in this exact order. This however won't be guaranteed, when there are multiple actors communicating
@Tochemey @Aaronontheweb idea was to basically load config file as any ordinary file and parse it. We're working on making HOCON configuration optional, and use Microsoft.Extensions.Configuration as the source of akka configuration - this way any configuration format, that is compatible with it, could serve as akka configuration.
Bartosz Sypytkowski
@Horusiath
Nov 16 2017 06:17
@mebymyself if you wan to join manually, you need to remove akka.cluster.seed-nodes section from HOCON, otherwise it will use it to initialize itself manually. Other cluster HOCON config values will still be used there. If you want to be sure, that you're initializing your actors after current node successfully joined the cluster, you can do that in Cluster.Get(system).OnMemberUp(() => { }) method.
Arsene T. Gandote
@Tochemey
Nov 16 2017 07:39
Hello thanks for the previous assistance. How do I use the netcore DI with Akka.NET
Bart de Boer
@boekabart
Nov 16 2017 08:05
@BertLamb for others that may be interested in your solution, it'd be nice if you could also write HOW you've got it figured ... ;)
Lutando Ngqakaza
@Lutando
Nov 16 2017 09:42
So I take it lighthouse for dotnet core is not baked yet?
Arsene T. Gandote
@Tochemey
Nov 16 2017 09:57
Hello Geeks I am having some funny hints in Visual Studio with Akka.NET and NetCore: module private.corelib should be referenced. Any idea?
troasfl
@troasfl
Nov 16 2017 11:03
Hi guys, anybody familiar with this error message : Resolve of path sequence [/"temp/sb"] failed
goti2
@goti2
Nov 16 2017 11:37
Hi guys, can you help me? How to build websocket server on akka.net ?
or it is bad idea ?
Bart de Boer
@boekabart
Nov 16 2017 11:55
@goti2 without any experience in this field, I'd suggest to use an existing websocket 'host' such as asp.net core or owin, and then follow the same pattern Akka.IO does
goti2
@goti2
Nov 16 2017 11:58
Ok
I want to create a mobile application and establish communication between the mobile application and the server, what can you recommend?
Bart de Boer
@boekabart
Nov 16 2017 12:13
Mobile running .NET ?
... in which case, Akka.Net with akka remoting
would be worth a try. Not sure if the server has to be able to connect to the 'client' as well, though
Gregorius Soedharmo
@Arkatufus
Nov 16 2017 12:14
should be possible
I had akka.net working with mono in unity, it should work with xamarin too
but not with IOS
goti2
@goti2
Nov 16 2017 12:18
@Arkatufus @boekabart thanks you guys
Bart de Boer
@boekabart
Nov 16 2017 12:18
Otherwise, SignalR Core or pure websockets as Transport, server side binding to one Actor per connection
goti2
@goti2
Nov 16 2017 12:19
@boekabart I also thought about this...
Gregorius Soedharmo
@Arkatufus
Nov 16 2017 12:20
yeah, web API to akka message transform is also an option, though it's a bit cumbersome
goti2
@goti2
Nov 16 2017 12:20
@Arkatufus thanks you
goti2
@goti2
Nov 16 2017 13:21
@boekabart Do you have public examples that you could show me?
Otherwise, SignalR Core or pure websockets as Transport, server side binding to one Actor per connection @boekabart
Bart de Boer
@boekabart
Nov 16 2017 13:22
Unfortunately not
HermansG
@HermansG
Nov 16 2017 13:28
@Horusiath Order is always preserved when send between 1 pair of actors A -> B. Is it documented or perhaps so very basic?
Arjen Smits
@Danthar
Nov 16 2017 13:59
@HermansG Messages are processed in the order in which they are put in the mailbox. Generally this means in the order in which they are received, unless you are doing things with Stashing or CustomPriority mailboxes.
Bartosz Sypytkowski
@Horusiath
Nov 16 2017 15:51

So I take it lighthouse for dotnet core is not baked yet?

@Lutando Lighthouse is rather a term than any kind of sophisticated technology:

using(var system = ActorSystem.Create(systemName, ConfigurationFactory.ParseString($@"
  akka.actor.provider = cluster
  akka.cluster.seed-nodes = [ ""akka.tcp://{systemName}@localhost:2552/"" ]
") {
    System.Console.ReadLine();
}

This is essentially a working Lighthouse.

@HermansG order of messages is crucial for akka actors. Without it a lot of things wouldn't work. And this guarantee is provided by the framework.
zbynek001
@zbynek001
Nov 16 2017 18:16
Hi, any idea how messaged send via Tell to Self can end up in Deadletters?
Darren Ford
@4deeptech
Nov 16 2017 21:44
@zbynek001 Yes, if you don't have the actor in correct state with a Receive looking for that message or if you don't have a Receive at all looking for that message. If I register Receive<Foo> and Receive<Foo2> but send myself a Tell(Foo3)....Foo3 goes to dead letter...
awb99
@awb99
Nov 16 2017 23:29
I am doing a little pet project with akka. Net and am looking for someone who could spend a few hours with me doing code review and giving me ideas of how to better. Use akka. Net. I will pay for this. Anyone interested?