lets say i have the following Actor hierarchy :
user
|____A___|---E
| |---F
| |---G
|
|____B___I
|____C___J
|____D___K
Lets say Actor E Needs to have IActorRef's of Actors I,J,K, passing the Actor Ref's in the constructor gets messy if the the system scales and needs more Actors , and user ActorSelection not advised to use locally.
is there A proper and dynamic way of getting ActorRef's as the system scales?
i have thought a lot about whether i should ask this question or not as it can interpreted as opinion based question , but im really strugling with this problem as i have searched a lot and it is not yet clear what is the best practice to this problem as the code can get really messy and unreadable in time.