Questions tagged [akka-remoting]

Akka is a library for building concurrent scalable applications using the Actor Model. Akka remoting is designed for communication in a peer-to-peer fashion. The remoting capabilities of Akka 2.0 are really powerful.

Akka is a toolkit and runtime for building highly concurrent, distributed, and resilient message-driven applications on the JVM. It helps in building concurrent scalable applications using the Actor Model. Akka remoting is designed for communication in a peer-to-peer fashion. The remoting capabilities of Akka 2.0 are really powerful.
Remote actor is an actor which listens on some given port. The remoting contains functionality not only to lookup a remote actor and send messages to it but also to deploy actors on remote nodes. These two types of interaction are referred to as: Lookup, Creation
It is most commonly used in distributed applications that run across the network.

63 questions
1
vote
1 answer

Error in akka clustering

I am developing a service using Akka clustering but I am getting these warnings when my program is running. I have an 8 node Akka cluster. Can anyone help me in solving this errors : [WARN] [06/07/2018 15:08:51.923] …
Prog_G
  • 1,539
  • 1
  • 8
  • 22
1
vote
1 answer

Nodes won't reconnect to seed

We have three nodes in different AWS data centers, one of which is the sole seed node and exclusive possessor of a singleton, accomplished by using .withDataCenter on the singleton proxy settings. We can get our cluster to work as-designed by…
blaha
  • 2,685
  • 4
  • 16
  • 19
1
vote
1 answer

Akka Seed Node on AWS drops all its messages because they don't match inbound addresses

I've discovered a lot of lesser-documented configuration options to use, but I can't seem to configure my seed node such that it can both contact itself and be contacted by other nodes. At the moment, I have it configured so: akka { …
blaha
  • 2,685
  • 4
  • 16
  • 19
1
vote
1 answer

Akka.NET Configuration settings for remoting

I am using the example on the Akka.NET github to play with some basic remoting. In the remoting example available from GitHub there is the following section in the configuration string for Akka.NET. deployment { /localactor { router =…
Maxim Gershkovich
  • 45,951
  • 44
  • 147
  • 243
1
vote
2 answers

akka Serialization ByteBuffer - java.lang.UnsupportedOperationException

I need some help to serialize an Entity to send it by Akka Remote. This is the serializer class: @Override public void toBinary(Object o, ByteBuffer buf) { byte[] bytes = null; ByteArrayOutputStream bos = null; ObjectOutputStream oos =…
1
vote
0 answers

Akka cluster aware router delivers messages SOMETIMES

I believe there is some problem with my configuration. Please consider the following setup: On "receiver" node: List path = singletonList("/user/processorRouter"); processorRouter = context().actorOf( new ClusterRouterGroup(new…
silent-box
  • 1,649
  • 3
  • 21
  • 40
1
vote
1 answer

How do I correctly use DI to inject a Play controller's constructor?

I'm migrating a Play 2.3.x app to Play 2.5.x and am having some problems using dependency injection. In 2.3 I had a trait HasRemoteActor which a controller would mix-in to have a reference to some remote actor based on configuration. Since this…
erip
  • 16,374
  • 11
  • 66
  • 121
1
vote
0 answers

Akka Remote - Prevent listener side disassociation

Let's say we have A and B, configured remote (netty.udp) (no cluster). Both started on different ports. Actor in A sends messages to actors in B through routing (using RemoteRouterConfig and by address). They all get it and reply. When the work is…
spinodal
  • 4,007
  • 3
  • 29
  • 38
1
vote
1 answer

Akka cluster: why don't I receive a Reachable event?

I have two nodes in a Akka cluster. I subscribe to all ClusterDomainEvent of the cluster with: cluster.subscribe( self, InitialStateAsEvents, classOf[ClusterDomainEvent]) When one of the two nodes is down, I receive a Unreachable…
Simon
  • 6,025
  • 7
  • 46
  • 98
1
vote
2 answers

Make Akka spawn a process for the remote node

I'm kindof confused as to what responsibility Akka takes on when creating an actor system. I want to have a simple application of a parent and two child actors where each child resides on a different process(and therefore on different node). Now I…
user_s
  • 1,058
  • 2
  • 12
  • 35
1
vote
0 answers

Akka - cluster aware router doesn't starts nodes

I need to create a cluster of 3 nodes where each node will run one instance of an actor -TestActor. I want that the router will create the nodes by itself(pool) but that the first one it creats will be the seed node since the routees will be the…
user_s
  • 1,058
  • 2
  • 12
  • 35
1
vote
0 answers

Akka remote actor system timeout: "The remote system has quarantined this system"

I have 3 akka nodes(akka 2.4.8 actor systems) based on remoting(NOT cluster). When a remote actor is created and performs long task(take more than 30 minutes), I will get error from remote actor system(on remote machine): The remote system has…
1
vote
1 answer

Programming Akka in Java and sbt dependencies

I am learning Akka and am trying out Akka remoting. I am using the intellij IDE and the language being used is Java. I tried running the AKKA remote example (Calculator). I am not using the sbt tool. How do I build the application and run it. I…
jrd29
  • 25
  • 7
1
vote
1 answer

akka remote actors - do the sender and receiver actors have to be on the same project?

I was following the akka-in-action code-base remoting (https://github.com/RayRoestenburg/akka-in-action/tree/master/chapter-remoting). In the example, it explains remoting with sender actor and a receiver actor. Both the actors are started…
Anand
  • 601
  • 2
  • 7
  • 17
1
vote
1 answer

java akka default serializer warning

I do not want to disable warning messages, as I want to know how to fulfill the suggestion to define serializer in order to improve performance? [INFO] [06/24/2016 19:28:34.659] [main] [akka.remote.Remoting] Starting remoting [INFO] [06/24/2016…
Andy Chan
  • 277
  • 5
  • 16