Add scheduler and background task support

未关闭
#302 4 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
rabbitmq, rust

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.).

主要语言
Rust
星标
1.1k
派生
57
平均合并
17 小时 39 分钟
30 天内合并 PR
12

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

cot-rs/cot 的其他 Issue

查看 cot-rs/cot 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。