Queue reuse-mode requests when the pool is full instead of shedding them

Đang mở
#41 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
66/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
kubernetes, rust

Hướng nghiên cứu

Start with internal/fiberdintegration/router.go, especially the reuse-mode capacity branch, and compare it with the fresh-mode wait behavior and -acquire-timeout. Trace how pool slots become available and how requests observe the deadline. Done when reuse requests wait for capacity within that deadline instead of immediately returning 503, with tests covering a full pool and timeout.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

a-needs-info enhancement

In execution.mode: reuse, once a Revision's pool holds MaxFibers busy
Fibers, fiber-router answers the next request with an immediate 503 and
Retry-After: 1 (internal/fiberdintegration/router.go, the
len(pool.slots) >= grant.MaxFibers branch). Fresh mode instead waits within
-acquire-timeout for capacity. Reuse requests should wait for a slot to free up
within the same deadline, so a short spike on a reuse service is not shed.

Ngôn ngữ chính
Rust
Star
3
Fork
2
Merge trung bình
3 ngày 57 phút
Pull request đã merge (30 ngày)
17

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của hyperlight-dev/lampyr

Tất cả issue của hyperlight-dev/lampyr

Issue tương tự

Thêm issue về Rust

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.