Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

路线图 #1

Open
17 of 23 tasks
Hentioe opened this issue May 6, 2024 · 0 comments
Open
17 of 23 tasks

路线图 #1

Hentioe opened this issue May 6, 2024 · 0 comments

Comments

@Hentioe
Copy link
Owner

Hentioe commented May 6, 2024

0.1.0 TODOs

  • 添加 harvest_honey 函数,取走结果(返回结果,删除 bee)
  • 每一个系统可独立配置并发数量(超出的排队等待)
  • 任务支持 stateless 选项,完成后立即删除,不保存结果
  • 支持延迟执行(创建 timer 触发队列移动)
  • 支持强制终止运行中的任务(状态:terminated
  • 支持取消未运行的任务(状态:canceled
  • 添加 stop_bee/2 函数,结合取消和终止效果。
  • 通过实现 Queen 模块,提供用户设置,并作为调用 id。
  • 支持重试策略(失败模式:重试)
  • 支持结构为 {module(), atom(), [any]}run 参数
  • 重试模式的 ensure/1 调用可能出错,需要包装
  • 重构重试模式的返回值,区分重新加入队列和立即执行({:continue, delay} | :continue | :halt
  • 模拟同步调用(添加 brew_honey_sync/4 函数)
  • 允许匿名 bee(生成算法参考,需考虑分布式冲突)
  • 公开 API 的类型规范
  • 在日志中插入元数据
  • 完成英文教程文档

0.2.0 TODOs

  • 重命名重试模式的 ensure/1 函数为 confirm/1。如果传递的是 ensure 函数,则添加编译警告。
  • 支持配置单个任务的超时时长(超时后立即终止任务)
  • 支持速率限制
  • 补充函数文档

1.0.0 TODOs

  • 系统关闭时持久化保存未完成队列(内建后端)
  • 启动时恢复未完成队列
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant