You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now any node raylet has ActorLabels information for all nodes.
472
+
However, when ActorAffinity schedules, if it traverses the Labels of all Actors of each node, the algorithm complexity is very large, and the performance will be poor.
473
+
<b>Therefore, it is necessary to generate a full-cluster ActorLabels index table to improve scheduling performance. <b>
1.Compared with the scheme of putting Labels in the coustom resource. This scheme can also reuse the resource synchronization mechanism. Then it won't destroy the concept of coustrom resouce.
496
+
497
+
<b>Defect
498
+
1. Because there must be a delay in resource synchronization under raylet scheduling. So if actor affinity is Soft semantics, there will be inaccurate scheduling.
499
+
500
+
404
501
### Failures and Special Scenarios
405
502
#### 1、If the Match Expression Cannot be satisfied
406
503
If the matching expression cannot be satisfied, The actor will be add to the pending actor queue. Util the matching expression all be statisfied。
@@ -428,3 +525,11 @@ All APIs will be fully unit tested. All specifications in this documentation wil
428
525
429
526
## (Optional) Follow-on Work
430
527
528
+
### Expression of "OR" semantics.
529
+
Later, if necessary, you can extend the semantics of "OR" by adding "is_or_semantics" to ActorAffinitySchedulingStrategy.
0 commit comments