Questions tagged [akka-cluster]

Akka cluster is a new (2.1+) functionality that allows one to build cluster capabilities on top of the Akka middleware.

486 questions
0
votes
1 answer

What's the best way to get members of an Akka cluster?

If I have an Akka cluster, what is the best way to access a list of members of that cluster? I can listen for events and manage my own registry on each node in my cluster. I can also use Cluster(system).state but according to the docs this isn't…
Greg
  • 10,696
  • 22
  • 68
  • 98
0
votes
1 answer

How to increase Tcp Chunk size in Akka IO using Tcp

I am using Akka-Cluster and sending large objects over network using Akka IO through Tcp. The data is being cut down into very small chunks. The size of the data ByteString received through 'Received' message is very small (around 7KB). Is there any…
0
votes
1 answer

Play Akka cluster dist

I am building an app with Play as frontend and akka cluster as backend. Right now both are under the same sbt project. With "dist" in sbt, I could only get one .zip package which has the script to start the play as well as akka cluster. So I am…
Alex
  • 247
  • 3
  • 12
0
votes
0 answers

Performance of Akka Cluster with Spray

I'm building a RESTful API using Akka and Spray. I'm using the Typesafe Akka Cluster Sample project... (http://www.typesafe.com/activator/template/akka-sample-cluster-scala) as a reference. I have a cluster which uses a pool of routees and cluster…
fatlog
  • 1,182
  • 2
  • 14
  • 28
0
votes
1 answer

Akka cluster: how to disable ClusterHeartbeat log

I'm playing a bit with an Akka cluster and I had a setup with 2 nodes. As expected, the two nodes chat each other to say that they are alive through the heartbeat. So every second I have a string like this in my log [debug]…
giampaolo
  • 6,906
  • 5
  • 45
  • 73
0
votes
1 answer

Akka Remoting contact point nodes need to running?

I am new to akka and akka remoting and akka cluster. I have build a system with following config Application.conf akka { actor.provider = "akka.cluster.ClusterActorRefProvider" extensions =…
Harshjags
  • 163
  • 1
  • 2
  • 12
0
votes
1 answer

routing configuration for akka cluster with remote nodes

I have several remote nodes that stay on different computers and connected in cluster. So, it is logging system on one of the nodes with role 'logging', that write logs in db. I chose to use routing for delivering messages to logger from other…
diemust
  • 110
  • 2
  • 7
0
votes
1 answer

Akka Cluster member query

With akka cluster, is it possible to query what members are currently in the cluster? If the seed node goes down, and eventually comes back up, could it find out what other members are using it as the seed node?
samyem
  • 437
  • 5
  • 16
0
votes
0 answers

How can I access akka.routing.Router?

I’m creating a router using the router configuration in application.conf. In a situation I need to manually remove the routes and add routes to my router. I saw in akka-scala document (link), using removeRoutee and andRoutee we will be able to…
Renien
  • 551
  • 4
  • 19
0
votes
1 answer

Is DistributedPubSub mediator stashing the messages for unreachable members of the cluster

In a clustered environment, we are sending the message through DistributedPubSub mediator. So, we've some machines which are unreachable in the cluster, when the message was sent. And these machines comes reachable again before the "autodowning" has…
Piyush Jajoo
  • 1,095
  • 2
  • 18
  • 27
0
votes
1 answer

Akka-cluster discovering other machines in local network

I'm trying to run http://typesafe.com/activator/template/akka-distributed-workers on few machines connected to local network. I want to host configuration be as transparent as possible, so I set in my project configuration just linux.local (as…
Piotr Kozlowski
  • 899
  • 1
  • 13
  • 25
0
votes
0 answers

Akka sharded cluster with multiple message IDs

I'm using Akka's cluster sharding like this: val deviceOperations = ClusterSharding(system).start( typeName = DeviceOperations.shardName, entryProps = Some(DeviceOperations.props(notification, profile, dataDecoders)), idExtractor =…
Mehdi
  • 1
  • 3
0
votes
1 answer

Playframework Webapp with Akka Cluster backend - architecture

I haven't come across many examples of combining Play with an akka-cluster backend AND a NoSql store like Cassandra, so I have some uncertainty in the implementation of such a system. For the sake of being concrete, instead of abstractly describing…
Azeli
  • 698
  • 7
  • 16
0
votes
1 answer

Akka session actors in multiple nodes

In this moment I have this actor session management implementation running in only one node: 1) I have a SessionManager actor that handles all sessions 2) The SessionManagerActor receives two messages: CreateSesion(id) and ValidateSesion(id) 3) When…
Rodrigo Cifuentes Gómez
  • 1,304
  • 2
  • 13
  • 28
0
votes
1 answer

Akka Messages in Subprojects?

I have a message that I am sending via Cluster in Akka. I have two backend nodes and one frontend node. The backend nodes come up fine, but the frontend node is not coming up (association failed). I feel I have a hint as to why this is: I have a…
Michael Dotson
  • 519
  • 3
  • 7