Find number of jobs using same actor

How severe does this issue affect your experience of using Ray?

  • Medium: It contributes to significant difficulty to complete my task, but I can work around it.

I have implemented aysnc detection actor, which can be used by multiple jobs. While initialising actor, I am assigning a unique name to that. Here my question is, How can I find that how many jobs are using same detection actor.

I have tried, list_actors() api, which can give all active actors, but my requirement with this is to find number of jobs being handled by this actors.

I need this value to implement load balancing logic.

hi @shyampatel unfortunately we don’t have API for this. One way to achieve this is to implement a counter inside the async actor.