Akka cluster is a new (2.1+) functionality that allows one to build cluster capabilities on top of the Akka middleware.
Questions tagged [akka-cluster]
486 questions
3
votes
1 answer
Sending large messages ( > 200MB) in Akka Cluster
I have to send large messages of size around 200MB in akka-cluster from one actor to multiple actors. I have tried using the akka messaging but it times out as it is taking a long time.
What is the best way to implement this? I have read somewhere…

Laxman Vemula
- 61
- 4
3
votes
3 answers
Running application with sbt and Akka Microkernel
Can I use both in my project?
Previously I had only object extending App trait, but since I started using Microkernel I need to have class extending Bootable trait.
Let's say that I have something like this:
lazy val backend = (project in…

Piotr Kozlowski
- 899
- 1
- 13
- 25
3
votes
1 answer
Create actor on any unspecified/random node in cluster
It is possible to programmatically create an actor on a remote node, if you specify the exact node.
However, I would like to simply ask the actor system to create an actor on a random, or perhaps the least utilised node.
Is it possible to create an…

Synesso
- 37,610
- 35
- 136
- 207
3
votes
2 answers
JMX monitoring/statistics in Akka application
Are there any built in JMX exposed monitoring/statistics that can be enabled in Akka (Java), besides the Cluster MBean? I have looked at Typesafe Console, but since it requires a license to be used with collecting data from multiple nodes, I was…

NilsH
- 13,705
- 4
- 41
- 59
2
votes
1 answer
How to use an Actor based source with an Akka Graph?
I'm attempting to send data via an actor to a runnable graph that contains a fan out.
I define the source as :
final Source integerSource =
Source.actorRef(
elem -> {
if (elem ==…

blue-sky
- 51,962
- 152
- 427
- 752
2
votes
1 answer
Akka.net Adds a random number to Actor name under /user
i have An actor that i want to Access remotely but Akka.net adds a random number to the Actor name Even if i provided the name explicitly, example :
var VotingServer= System.ActorOf(Props.Create(()=> new VotingServerActor()),"VotingServerActor");…

ezio
- 359
- 2
- 13
2
votes
3 answers
Understanding Akka cluster sharding
I'm learning Akka sharding module.
There is something I don't understand abour Sharding.
Let's imagine you want to shard an actor : you have many entites from the same actor distribued on many nodes.
Each entity can have its own state, which may…

AntonBoarf
- 1,239
- 15
- 31
2
votes
1 answer
Akka remote : trying to connect two machines
I have two physical different machines (192.168.1.37 and 192.168.1.99), I can ping easily each machine from the other one.
I'm trying to connect them with Akka remote (I'm using Java)
My local machine (trying to send a message to an actor on the…

AntonBoarf
- 1,239
- 15
- 31
2
votes
1 answer
Down unreachable node in akka cluster by http endpoint
I tried to down the unreachable node by http endpoint according to the page ( https://doc.akka.io/docs/akka-management/current/cluster-http-management.html#api-definition ) but my attempt was unsuccessful. Could you please provide an answer how to…

Vadzim Marchanka
- 143
- 7
2
votes
2 answers
Akka heartbeat delays
Akka app on Kubernetes is facing delayed heartbeats, even when there is no load.
There is also constantly the following warning:
heartbeat interval is growing too large for address ...
I tried to add a custom dispatcher for the cluster, even for…

kostas takis
- 23
- 3
2
votes
1 answer
Lagom: is it possible to split service instances across multiple clusters?
Let's say I have Hello-Service. In Lagom, this service can run across multiple nodes of a single cluster.
So within Cluster 1, we can have multiple "copies" of Hello-Service:
Cluster1: Hello-Service-1, Hello-Service-2, Hello-Service-3
But is it…

Teimuraz
- 8,795
- 5
- 35
- 62
2
votes
1 answer
Unexpected gossip interval growth and message size growth in Akka Distributed Data
I'm using Akka Distributed Data for replicating order data between three nodes. Currently, I'm only using GSet and LWWRegister CRDT types. But, a short time after a message is sent to the replicator, the gossip interval increases, and the replicator…

Isuru Perera
- 351
- 1
- 3
- 13
2
votes
0 answers
Akka-Cluster: indirectly connected member does not receive UnreachableMember event about himself
There's something I'm trying to understand about failure detection and the gossip of the detection.
A multi-jvm test I wrote seems to show that a member that has been detected as failed but still reachable via other nodes will not receive an…

DennisVDB
- 1,347
- 1
- 14
- 30
2
votes
1 answer
Stateful actors in Akka
Let’s say I want to create a chat system with Akka.
In the system, I would probably have a UserActor that manages all messages for a certain user.
If I now deploy this in an Akka Cluster, how can I make sure that actorOf gets a (remote) reference to…

user3612643
- 5,096
- 7
- 34
- 55
2
votes
2 answers
Akka Streams + Akka Cluster
I have a question about the use of Akka Streams and Akka Cluster. I'm trying to make a version of distributed word count using Akka Streams and Akka Cluster.
I would like to build an Akka Streams client that reads a text file as streaming I/O and…

Alexh2o
- 21
- 2