channable / channable/opsqueue
Strategies don't allow preferring certain submissions over others except for their age
- Ngôn ngữ chính
- Rust
- Star
- 96
- Fork
- 2
- Merge trung bình
- 1 giờ 2 phút
- Pull request đã merge (30 ngày)
- 2
Mô tả
https://github.com/channable/opsqueue/blob/78f1cc11fe0905d332a3f2fb47ef29f88afa034f/libs/opsqueue_python/src/common.rs#L102-L115
`Highest(meta_key)`/`Lowest(meta_key)`: Would make sense as this allows eating from one side of the key space
* We already have `Oldest`/`Newest`: effectively `Highest`/`Lowest` with `submission_time` as `meta_key`
* Priority based scheduling could be implemented using these strategies
* Underlying strategies could be used to move the needle further
* For high priority submissions you would prefer newest if latency is important
* For low priority submission you could prefer oldest, i.e. preferring finishing submitted work
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Đọc libs/opsqueue_python/src/common.rs quanh các dòng 102-115, bắt đầu với các strategy hiện có là Oldest và Newest. Theo dõi cách các khóa metadata của strategy chọn các submission và định nghĩa Highest(meta_key) và Lowest(meta_key) nhất quán với các strategy đó. Hoàn tất khi các caller có thể chọn submission bằng một khóa metadata bất kỳ mà vẫn giữ được hành vi hiện có dựa trên tuổi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- rust
- Lĩnh vực
- backend
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 55/100