These are chat archives for akkadotnet/akka.net

3rd
Apr 2015
Aaron Stannard
@Aaronontheweb
Apr 03 2015 07:29
@rogeralsing now you get to play with Akka.NET on your RaspberryPI :p cc #792
Roger Johansson
@rogeralsing
Apr 03 2015 08:43
Yyayy
Roman Golenok
@shersh
Apr 03 2015 10:37
Wow! I've been wanting to create "Smart Home" system)) Now it's more simple))
Roger Johansson
@rogeralsing
Apr 03 2015 14:32
@Aaronontheweb : any idea why that fails?
fu gitter, dont upload my image then...
Roger Johansson
@rogeralsing
Apr 03 2015 15:21
@Aaronontheweb isnt the new helios bits up on nuget?
Roger Johansson
@rogeralsing
Apr 03 2015 15:28
Oh they were, but not referenced from akka.
Aaron Stannard
@Aaronontheweb
Apr 03 2015 16:44
yeah - the new bits should be referenced from Akka in my latest PR
Akka.Remote / Remote.TestKit
Aaron Stannard
@Aaronontheweb
Apr 03 2015 17:10
doing cross-platform Uris on Mono and Windows is a delicate art
relative Uris on Windows are also valid absolute Uris on POSIX
Scott Meyer
@scottmeyer
Apr 03 2015 19:15
I'm trying to find some information on how akka.net remoting handles creating remote actors when no tcp connection is currently available. Can someone point me in the right direction?
Roger Johansson
@rogeralsing
Apr 03 2015 19:17
Akka.net is p2p, if you give it an address to a remote system it will open up a connection
Everyone talks to everyone
Scott Meyer
@scottmeyer
Apr 03 2015 19:18
right, but what happens if there currently isn't network access to the remote address available
does it fail immediately?
Roger Johansson
@rogeralsing
Apr 03 2015 19:21
It will not be able to send messages to the remote daemon on the other side, @aaronontheweb can fill in more, he wrote most of the remoting later
Layer*
James Conway
@jwconway
Apr 03 2015 19:49

Hey, is it possible to query the cluster state?
The akka documentation says this:

Instead of subscribing to cluster events it can sometimes be convenient to only get the full membership state with Cluster(system).state. Note that this state is not necessarily in sync with the events published to a cluster subscription.

But i cant find the equivalent in Akka.Net

Aaron Stannard
@Aaronontheweb
Apr 03 2015 19:50
@jwconway yessir - let me link you to a relevant sample inside Akka.NET
James Conway
@jwconway
Apr 03 2015 19:50
Great thanks @Aaronontheweb
you can get the Cluster as an ActorSystemExtension
which happens in the properties of that class
from there you can use its subscription methods to subscribe to both the current state of the cluster and future state events
all of the cluster routers do this automatically under the hood, but there are many cases where it's useful to be able to do this yourself
we don't have much documentation for Akka.Cluster today... I'm in the middle of outlining all of the V1 docs today. I'll include some areas where we'll add some cluster documentation
@scottmeyer if a particular network address isn't available then all of the actors who were previously deployed on that system are presumed dead
and that works in both directions - if someone deployed remote onto actors onto me and they died, I'd kill all of their remote deployed actors
James Conway
@jwconway
Apr 03 2015 19:54
Ok thats great, thanks @Aaronontheweb
Aaron Stannard
@Aaronontheweb
Apr 03 2015 19:54
if you attempt to deploy a remote actor to a system you could never connect to in the first place... I'm not sure what the behavior is offhand
pretty sure it doesn't throw an exception
my guess it that everything goes to dead letters
I'll have to double check that to be sure though
Roger Johansson
@rogeralsing
Apr 03 2015 21:39
tadaaaa we are running on Raspberry pi!!! chat client on PI , chat server on laptop
Roger Johansson
@rogeralsing
Apr 03 2015 21:47
Mono.png
Aaron Stannard
@Aaronontheweb
Apr 03 2015 22:10
@rogeralsing very nice!
BTW... I'm about to post a new structure for the docs for V1
one of the things I'd like to do is have embedded C# and F# samples via https://dotnetfiddle.net/ where applicable
in order to do that with the V1 API, I'll need to put a pre-release NuGet package out there
see any issues with that?
Roger Johansson
@rogeralsing
Apr 03 2015 22:16
no :) I've tried to push that a few times when I found dotnetfiddle, but I guess nobody knew what it was :P
Im all for it
Aaron Stannard
@Aaronontheweb
Apr 03 2015 22:16
cool, well we're going to make it happen starting with V1
the new docs are going to have a lot more content
going to need a lot of help to get it all done! :p
should be done with my proposed structure for it today
Aaron Stannard
@Aaronontheweb
Apr 03 2015 22:44
running a pre-release build now
this is intended for use with our .NET Fiddle samples so we can start working on the V1 docs before the official release
but if you want to play with the bits too, go right ahead ;)