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
{{ message }}
Repository navigation
ateapi: scheduler and workercache placement optimizations #3783
Every placement in cmd/ateapi/internal/scheduling and cmd/ateapi/internal/workercache is O(N) in the size of the worker fleet, whatever the constraints:
A pinned resume sets RequiredNodes to one node, yet workercache.Workers() copies every worker pointer in the cluster and Schedule discards all but the ones on that node. Pinned local-snapshot resumes are the common path.
detachFromFullNode runs a full Schedule and discards the worker, only to learn whether any other node has room.
None of this is measured. ate.scheduler.assignment.duration wraps the cache scan together with the BindActorToWorker transaction, so it cannot separate the in-memory cost from the store round trip, and there is no benchmark in either package.
Activity
shrutiyam-glitch commentedon Nov 16, 2026
cc: Zoe Zhao (@zoez7)