rayfed icon indicating copy to clipboard operation
rayfed copied to clipboard

Enable placing ProxyActor to specific Nodes

Open NKcqx opened this issue 2 years ago • 1 comments

ProxyActor need a external port to send / recv RPCs across parties, and in many senarioes, the port can only be opened on certain Nodes for safety reasons. However, as a Ray Actor, the inner proxy actor is hidden by RayFed and can't be explicitly placed.

NKcqx avatar Jun 21 '23 06:06 NKcqx

The solution is: using ActorClass.options to declare ProxyActor's resources so that it can be scheduled (by Ray) to certain Nodes having that resources.

The plan is:

  1. [1/N] Gives a parameter to set ProxyActor's resource.
  2. [2/N] As there're too many ProxyActor related configs in fed.init, merging them into one "XXConfig" entity and exposing as a whole to user.

NKcqx avatar Jun 21 '23 06:06 NKcqx