A high-performance distributed task queue system with web monitoring
Project description
JetTask
一个高性能的分布式任务队列系统,支持Web监控界面。
特性
- 🚀 高性能异步任务执行
- 📊 实时Web监控界面
- ⏰ 支持定时任务和延迟任务
- 🔄 任务重试和错误处理
- 🎯 多队列和优先级支持
- 🌍 多命名空间隔离
- 📈 任务统计和性能监控
- 🔧 简单易用的API
安装
pip install jettask
快速开始
1. 创建任务
from jettask import JetTask
app = JetTask()
@app.task(queue="default")
async def hello_task(name):
return f"Hello, {name}!"
2. 启动Worker
jettask worker -a app:app --queues default
3. 发送任务
result = await hello_task.send("World")
print(result) # Hello, World!
4. 启动Web监控界面
# 启动API服务
jettask api
# 启动前端界面
jettask frontend
然后访问 http://localhost:3000 查看监控界面。
文档
详细文档请参见 docs/ 目录。
许可证
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jettask-0.2.19.tar.gz
(356.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
jettask-0.2.19-py3-none-any.whl
(427.4 kB
view details)
File details
Details for the file jettask-0.2.19.tar.gz.
File metadata
- Download URL: jettask-0.2.19.tar.gz
- Upload date:
- Size: 356.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4b97c018034c2f31209db6b19b7581d70b07d203249ba9b910bcd864c4ec020
|
|
| MD5 |
ad32edc4dc761ed90845f03f37a68d51
|
|
| BLAKE2b-256 |
895e3ecea1819b125a8d265dbe03e60f7e5905a3dc359bdb607dc20e8b7a60d9
|
File details
Details for the file jettask-0.2.19-py3-none-any.whl.
File metadata
- Download URL: jettask-0.2.19-py3-none-any.whl
- Upload date:
- Size: 427.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
545431cf8d27319ab763cb3300639ff0796bc183b42dd0827e5b4e3fafb8d60b
|
|
| MD5 |
82f2b150d52facbd0560d34308f55dd3
|
|
| BLAKE2b-256 |
1c8f8aa262eca3b1c47325025a0b40ffc65a4bba193b31b855d2c8c7f5ead429
|