Evaluate eviction policy for retained routing state

Đang mở
#1,407 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 1 ngày

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
backend

Hướng nghiên cứu

Find the AffinityRouter and Composite bounded maps that retain routing decisions, then read their insertion and eviction paths. Compare the current policy with LRU and idle expiry, keeping memory bounded and evaluating reclassification frequency, latency, and memory use for both maps. Done means selecting and implementing a consistent retention policy with evidence for its tradeoffs; keep the separate fix in PR #1190 unblocked.

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

Mô tả

enhancement

AffinityRouter and Composite retain routing decisions in bounded maps. At capacity, adding a new identity evicts an arbitrary entry, which can discard an active session while keeping inactive ones.

Evaluate whether LRU, idle expiry, or the current policy best fits these maps. Keep memory bounded and check the effect on reclassification frequency, latency, and memory use. Consider both maps so their retention behavior stays consistent.

Related: https://github.com/NVIDIA-NeMo/Switchyard/pull/1190

#1190 fixes a separate bug: updating an existing identity should not evict another entry. This follow-up concerns which entry to evict when space is actually needed and should not block that fix.

Ngôn ngữ chính
Rust
Star
3.7k
Fork
386
Merge trung bình
1 ngày 16 giờ
Pull request đã merge (30 ngày)
113

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 NVIDIA-NeMo/Switchyard

Tất cả issue của NVIDIA-NeMo/Switchyard

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.