项目预览
项目数据
项目介绍
Star 增长趋势
本站每日记录该项目 GitHub 星标变化,观测越久曲线越完整
数据来源:GitHub API 逐日快照 · 收录于 2026-08-09 · 当前星标 ★ 591
使用教程
环境要求
- 容器环境
- Node.js 20+ 或其他运行时
安装与启动步骤
-
1直接跑容器
一条命令起服务,映射两个端口。
docker run -d --name bunqueue -p 6789:6789 -p 6790:6790 bunqueue/bunqueue -
2装客户端
按你用的运行时装对应客户端包。
npm install bunqueue-client -
3投一个任务
写个最简脚本投任务再取结果。
-
4上量换存储
单机单文件够用,多机要换数据库后端。
docker compose -f docker-compose.postgres.yml up --build -d
如何确认成功
投一百个任务后能按顺序取到结果,且进程重启后任务不丢
注意事项
- 它在特定运行时上做了优化,其他运行时也能用但没优势。
- 单文件存储适合单机,多机要换数据库。
- 客户端有多语言实现,按你的技术栈选。
- 任务积压时内存占用要盯。
核心亮点
- 基于 SQLite 持久化,任务重启不丢,可靠性强
- 内置 DLQ 和 cron 调度,失败处理和定时任务开箱即用
- 专为 Bun 优化,性能比肩 BullMQ 但更轻量,且兼容 Deno
不足之处
- 早期项目,API 稳定性待观察
- 文档/社区待观察
适用场景
- AI 代理的异步任务编排与重试
- 定时数据同步或批处理作业
- 需要持久化队列的边缘服务
替代项目
BullMQ、Bull、Agenda
同类项目推荐
universal
开源
用可定制数字类型,在精度与性能间自由取舍
Large collection of number systems providing custom arithmetic for mixed-precision a···
runtime
开源
把 AI 生成的代码关进 WASM 沙箱安全跑
Secure runtime to sandbox AI agent tasks. Run untrusted code in isolated WebAssembly···
seldon-core
开源
K8s 上大规模部署、监控和管理生产级 ML 模型
An MLOps framework to package, deploy, monitor and manage thousands of production ma···
actions-ml-cicd
开源
用现成 GitHub Action 快速搭起 MLOps 流水线,省去重复造轮子。
A Collection of GitHub Actions That Facilitate MLOps
comfyui-docker
开源
用 Docker 一键跑起 ComfyUI,告别环境配置地狱
Docker image for ComfyUI: The most powerful and modular stable diffusion GUI, api an···
awesome-argo
开源
一站式逛遍 Argo 生态,找工具、学案例、避坑提效
A curated list of awesome projects and resources related to Argo (a CNCF graduated p···
whylogs
开源
记录数据日志,实时监控模型质量与漂移
An open-source data logging library for machine learning models and data pipelines. ···
kong
开源
统一管理 API 和 AI 服务,流量安全一把梭
The API and AI Gateway
chroma
开源
给 AI 应用装一个超快的向量搜索引擎
Search infrastructure for AI
