Hi Heiko,
Say I have 2 micro service nodes: web, and authentication. For each, they run their own Actor System and are hosted on their own physical machine.
I want to connect the nodes together and be able to scale up the nodes when needed. For example, if the web node sends a lot of authentication requests to the auth node and it can’t handle the volume, I need to be able to dynamically add a second auth node.
For both pool and group router, there are some parts which I don’t understand.
For pool router, the router needs to send the routee actor to the target node. So in this cause, does the web node send an actor to the auth node to connect with each other? How does this work?
For group router, since the messages are routed with Actor Selection, there must be one routee node up at all times. So for the example I gave:
a) What if there is no auth node for the web node to connect to before or after the group router is created
b) What happens if I want to dynamically add a second auth node, can group router handle this situation?
Regards,
Lap