Re: [akka-user] Re: Akka Cluster (and Cluster Client) on Kubernetes

2016-07-18 Thread Ashley Aitken
Thanks for sharing Ruben. I was considering if it could be done without a fixed seed node. I am keen to see your github project when you have time. > On 19 Jul 2016, at 3:44 AM, 'Ruben Wagner' via Akka User List > wrote: > > Hi, > > actually the configuration

[akka-user] distributed in-memory lru cache using akka cluster

2016-07-18 Thread Ben Fonarov
Hi all, a question... I'm trying to implement a distributed in-memory lru cache using consistent hashing router and actor level lru logic. I want to dynamically scale out to new members in the cluster (adding a server) when i reach 80% of the memory capacity on a given server... is there a way

[akka-user] Re: Akka WebSocket as an Api

2016-07-18 Thread Dagny T
Hello! Wanted to ask about your considerations for tradeoffs for using Play vs straight Akka-Http-Stream and Websockets? Is this the best forum for such a question; or Quora, or elsewhere? Thanks! D On Tuesday, July 5, 2016 at 7:12:03 AM UTC-7, ani...@egnaroinc.com wrote: > > I have a chat

[akka-user] Re: Akka WebSocket as an Api

2016-07-18 Thread Dagny T
Hello! Wanted to as what your considerations were on tradeoffs for going for the Play approach as opposed to straight Akka-Http-Stream and Websockets approach? Or, perhaps suggest the best forum to get such info -- Quora maybe? On Tuesday, July 5, 2016 at 7:12:03 AM UTC-7,

[akka-user] Re: Akka WebSocket as an Api

2016-07-18 Thread Dagny T
On Tuesday, July 5, 2016 at 7:12:03 AM UTC-7, ani...@egnaroinc.com wrote: > > I have a chat application developed in Akka and Scala using Play framework > WebSockets. > I want to make it as an Api based service. For connection , i have used > the similar block from official documentaton as: >

[akka-user] Re: actor lookup and restart

2016-07-18 Thread Rob Crawford
If the Actor gets restarted, the ActorRef will still be valid. That's one of the reasons for ActorRef. On Monday, July 18, 2016 at 3:16:13 PM UTC-4, James wrote: > > Hi, > > The document saying > > "It is always preferable to communicate with other Actors using their > ActorRef instead of

[akka-user] Re: Akka Cluster (and Cluster Client) on Kubernetes

2016-07-18 Thread 'Ruben Wagner' via Akka User List
Hi, actually the configuration is a bit tricky, because you need to set a fixed seed node, which is not fixed in Kubernetes. I looked at the Cassandra pod and ported it to Akka Cluster (s. attached file). It derives the config from the Kubernetes API and then starts the Akka Cluster. If the

[akka-user] actor lookup and restart

2016-07-18 Thread James
Hi, The document saying "It is always preferable to communicate with other Actors using their ActorRef instead of relying upon ActorSelection. In all other cases ActorRefs can be provided during Actor creation or initialization, passing them from parent to child or introducing Actors by

[akka-user] Akka Java IO TLS

2016-07-18 Thread Vinay Gajjala
Hi I am a newbie in Akka and I implemented a TCP server which listens to device traffic. I have searched online and could not find any concrete examples of how to configure TLS using Akka IO. I am not sure if I am missing the obvious. Thanks in advance, Vinay -- >> Read the

[akka-user] Re: Akka Cluster (and Cluster Client) on Kubernetes

2016-07-18 Thread Mahmoud Atef
Did it work with you, I mean Akka cluster over kubernetes? On Monday, March 2, 2015 at 7:44:13 PM UTC+2, Ashley Aitken wrote: > > > Howdy All, > > Has anyone had any experience getting an Akka Cluster and Cluster Client > running on Kubernetes, e.g. on Google Container Engine (GCE)? > > I note

[akka-user] from spray to akka http - multi layer routes with actors

2016-07-18 Thread James
We have bene using spray and pretty happy about it. The way we use spray on our production is like this. -- trait HttpRootActor extends HttpService with TokenAuthenticator { implicit def executionContext = actorRefFactory.dispatcher implicit val timeout =