agent-substrate / agent-substrate/substrate

Configurable actor and worker tGPS

Đang mở
#1,617 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area/api-machinery area/reliability kind/feature
Ngôn ngữ chính
Go
Star
1.8k
Fork
316
Merge trung bình
2 ngày 43 phút
Pull request đã merge (30 ngày)
287

Mô tả

#1560 raised ateom's drain budget after `SIGTERM` from 1 minute to 30 minutes, which is the window an actor has to be suspended before ateom kills it. The worker pod's tGPS is hardcoded as 1 hour today.

Workloads differ. Some actors suspend within seconds, some may run for longer without a proper suspend point. A fixed 30 minutes maybe enough for 99% case but not for outliers, and users have no way to tune either number.

We may consider:
- `ActorTemplate.terminationGracePeriodSeconds`: how long this actor gets after SIGTERM before ateom kills it, with default 30 mins.
- `WorkerPool.template.terminationGracePeriodSeconds`: ceiling grace period for worker pods from this WorkerPool.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.