These are chat archives for akkadotnet/akka.net

22nd
Nov 2015
ramusbucket
@ramusbucket
Nov 22 2015 08:48
Hello Akkadotnet
I'm getting "has 0 routees" message with web-crawler sample
Any clue?
Zetanova
@Zetanova
Nov 22 2015 10:42
to link the local builded nuget packages, its the same behavior as with the prerelease, no akka assemblies are under references
Simon Anderson
@thelegendofando
Nov 22 2015 11:03
@ramusbucket 0 routees means your cluster hasn't formed.
You should be able to work out what's going on via the console output
ramusbucket
@ramusbucket
Nov 22 2015 11:51
@thelegendofando thank you for your comments
It seems that I was ignorant about how to run those samples. The instructions given on Github wiki pages are not sufficient. I somehow figured out that I need to run "WebCrawler.CrawlService" and "WebCrawler.TrackingService" along with the "WebCrawler.Web" app and "Lighthouse" app
Thomas Tomanek
@thomastomanek
Nov 22 2015 12:08
so I've just discovered that actors are created asynchronously (when ActorOf call completes my actor isn't guaranteed to have been ctor'd). Is there a way to control that, and also presumably if I send a message to an uncreated actor the message will be buffered untli it is created?
Simon Anderson
@thelegendofando
Nov 22 2015 12:47
@ramusbucket if you run the solution it should fire up one of each service, although yes, you need a seed node, doesn't have to be Lighthouse.
ramusbucket
@ramusbucket
Nov 22 2015 12:51
@thelegendofando you are correct
What if I run those services from command prompt from Debug folder. No logs show up for lighthouse or crawler service
feanor41
@feanor41
Nov 22 2015 15:59
Hi! The simplest dummest question of the entire book I guess, but I have a use case where I have to correlate two message, but those message means data I cannot affort to loose. For this particular use case, one of the message knows (have and ID) the correlation with the second, but the second can be either never correlated with anyone, or correlated with one of the first one.
The first message is an actor how tries to reach the second if is available, second can arrive after first arrived, thus the first one is in charge of search for the second one. But actor for first need to be started even if a node crash.
So my question is, how can achieve high availability on the even of a failure in one or more nodes in my cluster??
Thank you all in advance.
@Horusiath If I want to contribute in cluster tools and cluster sharding, where will be in the code a good start for reading and getting the sense of it?
Bartosz Sypytkowski
@Horusiath
Nov 22 2015 19:13
@feanor41 your case can be solved by cluster sharding, but in general it's the case of some third service actor, that both actors use to establish the connection with each other
Bartosz Sypytkowski
@Horusiath
Nov 22 2015 19:22
concerning Akka.Cluster.Tools and Akka.Cluster.Sharding - most (if not all) of the code is already ported, but I need to make multinode test runner specs working. If you want to help a little, I can try to find something, that could interest you. Just give me a while to reorganize the code ;)
feanor41
@feanor41
Nov 22 2015 19:25
@Horusiath Thanks, no rush. I was looking at Cluster Sharding documentation available and arrived myself to cluster sharding path. Thanks for confirm it.
Aaron Stannard
@Aaronontheweb
Nov 22 2015 20:50
blob
@Horusiath #1455 should fix it - proof above
merge it
Bartosz Sypytkowski
@Horusiath
Nov 22 2015 21:08
if you say so ;)
merged
Bartosz Sypytkowski
@Horusiath
Nov 22 2015 21:35
akka.net spec suite have so many races and it's so resource consuming, that I want to tell xUnit guys to build their test runner on top of akka.net, so that their runner will finally stop failing from pressure we generate
Kelly
@kcliffe
Nov 22 2015 22:08
Anybody else running on Windows using Akka.Remoting having runtime exception where specific google.protobuf ver 521 is required? (nuget restores latest - 555)? Works at home under mono. Just breaks at work...
Bartosz Sypytkowski
@Horusiath
Nov 22 2015 22:10
@feanor41 if you want to play a little with the Akka.Cluster.Tools, take a look at PR #1408 - under Examples/Cluster/ClusterTools you can find projects with samples for each of the 3 major features:
  • cluster singletons
  • cluster distributed pub/sub mechanim
  • cluster client -> this one to be better visible will require to set .Node project actor ref provider to RemoteActorRefProvider, while keeping .Seed actor ref provider to ClusterActorRefProvider (the purpose is to show that non-cluster actor system is able to call cluster itself)
@kelly-cliffe you can manage this using assembly bindings in your app.config file
Kelly
@kcliffe
Nov 22 2015 22:26
@Horusiath Yes thanks. That's what I've done. Just wondered if everybody else was currently taking that approach, or if i was alone and something sinister was happening on my dev machine.
Bartosz Sypytkowski
@Horusiath
Nov 22 2015 22:28
yeah, ultimately I think that we should be able to cover those cases automagically