`GET /api/v1/sdk/ruleset` stops answering under sustained overload and does not recover after a pause
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- api, backend, performance
Hướng nghiên cứu
Start by locating the handler for GET /api/v1/sdk/ruleset and the in-process tests for that route. Read how the handler manages requests under load, then add a test that drives it past capacity and fails on release 0.42.0. Done when the test shows the route continues answering some requests during overload and recovers after load pauses.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happens
Under sustained overload, GET /api/v1/sdk/ruleset stops answering altogether, and it is still not answering after the load
has paused for 12 to 17 seconds.
Seen in all three runs of the ruleset scenario in scale measurement run 41732112985 (release 0.42.0, GitHub-hosted runners,
two different CPU models). In each run, at the first step the API could not keep up with:
- answered requests fell to zero for the rest of the step (after 6 to 30 seconds of normal answers);
- the API's CPU use fell (from about 65-71% to 13-40% of a core) instead of staying saturated, and the database had no
active connections serving it; - the proxy recorded every request in that stretch as closed by the client (499);
- the next step started after a 12-17 s pause and answered nothing from its first second (0 of 2,268, 0 of 2,856 and 0 of
3,598 requests).
What should happen
Past its capacity, the route may slow down or refuse some requests, but answered throughput should not collapse to zero, and
the route should answer normally again soon after the load drops.
Why it matters
Server-side SDKs in local-evaluation mode poll this route to refresh their rules. During a stall they keep serving their
last-known rules, as designed, but cannot pick up a change, so a flag change or a kill switch does not reach them until the
route recovers.
Notes
- Priority: medium, before launch (D213: it touches use case #4, server-side local evaluation).
- The measurement's report labelled these steps as database-bound ("serialised"). That label is wrong for this case and is
being corrected in the scale harness as part of #1608. The run itself is discarded from the published evidence. - A fix needs an in-process test that drives this route past its capacity and fails on 0.42.0's code.
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 4
- Merge trung bình
- 5 giờ 19 phút
- Pull request đã merge (30 ngày)
- 503
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Controlvar/controlvar
-
Dashboard: the sequential panel's "Ready to stop" banner shows no sample-ratio-mismatch cautionĐang mởbug post-launch
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Controlvar/controlvar#1737 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(api): the feature-flag list has no defined order across pagesCó thể đã có người làm @amarkanday đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Controlvar/controlvar#1612 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug post-launch
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Controlvar/controlvar#1562 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
Controlvar/controlvar#1447 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Experiment setup: emptying a traffic share box and typing a number shows a leading zero ("034")Đang mởbug post-launch
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Controlvar/controlvar#1428 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Controlvar/controlvar
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
FinanceFlash/unvibecode#509 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
FAIRmat-NFDI/nomad-distro-dev#161 ·
-
bug v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
modelcontextprotocol/python-sdk#3821 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug severity:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Log-odds calibration uses upper middle score instead of median for even candidate setsCó thể đã có người làm @flysheep-ai đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày