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

Sending message to least utilised machine in Akka cluser

I and new to Akka & want to achieve this, want to deploy few Stateful actors on fixed machines (Which will be always on) and stateless actors (Processing actors/workers) on Amazon EC2 Spot instances Now to handle failover of Stateful actors…
0
votes
1 answer

Akka Cluster Types

I am trying to understand how clustering works in Akka. Specifically I'm interested in two different types of clustering: Heterogenous nodes, where each "node" (JVM) in the cluster contains a mixture of different Actors; and Homogenous nodes, where…
smeeb
  • 27,777
  • 57
  • 250
  • 447
0
votes
1 answer

Akka cluster: node identity crisis

I have a cluster of 15 nodes/boxes. I start the nodes roughly at the same time. One of the nodes is behaving oddly and continually logging "Ignoring received gossip intended for someone else". However, the node does seem to work for a while before…
Benjamin
  • 727
  • 1
  • 9
  • 19
0
votes
1 answer

Calling Akka actor from Play controller

I have been playing with the distributed worker pattern and I'm running into an issue pushing work from a web request. The example project has a frontend: val mediator = DistributedPubSubExtension(context.system).mediator def receive = { case…
Arjun Sol
  • 731
  • 5
  • 18
0
votes
1 answer

Add a role to an existing member?

I was looking on the Akka source code. There is a way to get a member's roles (.getRoles), but is there a way to add a new role to existing member? I would like to add it dynamically using code and not via configuration.
0
votes
1 answer

Akka actors scaling across JVM's and servers, and example at akka.io

I find the introductory example of Akka remoting supplied on the Akka landing page a bit hard to swallow as an introduction, and the length of documentation necessary for learning the ins and outs of remoting malstructured for introductory…
matanster
  • 15,072
  • 19
  • 88
  • 167
0
votes
1 answer

Configuring a Cluster in AKKA

I want to create an AKKA cluster, my application is load balanced across 4 servers each with an identical copy of the code and acting independently. With AKKA the cluster is defined along with it's seed-nodes in application.conf. However due to the…
cdugga
  • 3,849
  • 17
  • 81
  • 127
0
votes
1 answer

Same routing behavior on different nodes/routers

I know, that if I use a consistent hashing group router, it will always rout to the same registered routees. So I wrote my application, with a few routees on there own routee-nodes and a public-node with a router, which is reachable by the…
Nabil A.
  • 3,270
  • 17
  • 29
0
votes
1 answer

Is there a simple hashing router in akka?

I am using Consistent Hashing in my Actor System. The problem I am facing is that the keys are not getting distributed evenly (which I expected, though). I was just wondering if there's a Simple Hashing router in akka which I can use. Or should I…
Saki
  • 41
  • 4
0
votes
1 answer

Akka Router with multiple actors not receiving messages properly

Here i created a router with SmallestMailboxRouter ActorRef actorRouter = this?.getContext()?.actorOf(new Props(RuleStandardActor.class).withRouter(new SmallestMailboxRouter(38)),"standardActorRouter") Now in for loop i created 38 actors …
Jagadeesh
  • 570
  • 3
  • 11
0
votes
1 answer

How to start specific number of workers actors during start?

I created clustered akka app based on. https://github.com/typesafehub/activator-akka-distributed-workers-java/blob/master/tutorial/index.html Is there any build in future to run specific number of actors of given type in cluster. Should I create…
baklarz2048
  • 10,699
  • 2
  • 31
  • 37
0
votes
2 answers

Akka Cluster In Java for IMAP fetch using Java Mail API

I want to fire up some task which will connect to an IMAP and bring email data to store in database. Now such job would have huge volume to support many IMAP accounts. I want to leverage Akka cluster capabilities which can run these jobs in…
Rakesh Waghela
  • 2,227
  • 2
  • 26
  • 46
0
votes
2 answers

Behavior of akka pub-sub when no subscriber is registered

We are planning to use akka pub-sub in our project. I have the following 2 queries reg. the akka pub-sub behavior. What if the Publisher starts sending the messages before any actor has subscribed. What will happen to those messages that were…
Vishal John
  • 4,231
  • 25
  • 41
0
votes
1 answer

ClusterReceptionistExtension doesn't register Subscriber

I am trying to use akka pub-sub with in our application. I have a play application which is part of akka cluster. I want to use akka cluster-client to make make this application listen/subscribe to topics and messages will be published from other…
Vishal John
  • 4,231
  • 25
  • 41
0
votes
2 answers

Tuning message frequency based on cluster load

I am writing a simple homogenous cluster application using Akka 2.2.3 and Scala; a particle filtering algorithm in which each node shares data with other cluster members at random points in time. It's currently a research application, not a…
Pengin
  • 4,692
  • 6
  • 36
  • 62
1 2 3
32
33