Add scheduler and background task support

Đang mở
#302 4 bình luận 1 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
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
rabbitmq, rust

Hướng nghiên cứu

Start by reading the issue’s proposed requirements; it does not name code entry points, files, or tests to begin from. The work spans task queues, worker execution, scheduling, and admin controls, so first clarify the intended scope and architecture with maintainers. Done would require agreement on those requirements and implementation across the requested capabilities.

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

Mô tả

enhancement help wanted

It's common nowadays for web services to do some processing in the background, e.g. video converting, talking to external services, etc. We need some mechanism that would allow us to spin such tasks in a way that would be picked up by some external workers (with an option to run workers inside the same binary for easier development and some simpler deployment cases). We should support some industry-standard way to create a queue of such tasks, e.g. RabbitMQ.

When we have background tasks, a scheduler that would allow running background tasks at given dates and times will probably be useful, too.

When we have all of that, the tasks should be displayed in the admin panel along with their statuses (queued, running, succeeded, failed) and some tools to control them (pause/cancel, etc.).

Ngôn ngữ chính
Rust
Star
1.1k
Fork
57
Merge trung bình
17 giờ 39 phút
Pull request đã merge (30 ngày)
12

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 cot-rs/cot

Tất cả issue của cot-rs/cot

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.