I have the following setup:
[app-a Containers] <-[load balancer]-> [app-b Containers]
The containers are Docker containers and a set of containers are assigned a DNS name like app-a.marathon.mesos
and app-b.marathon.mesos
.
Now when an actor in app-a
makes an ask to a remote actor on app-b
, the app-b
's sender becomes app-a.marathon.mesos
.
This is tremendously problemmatic because now, the reply to the asking actor may or may not arrive – it may arrive at any of the app-a
containers.
What is the best way to overcome this?