Skip to main content

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.14.tar.gz (425.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jettask-0.2.14-py3-none-any.whl (514.4 kB view details)

Uploaded Python 3

File details

Details for the file jettask-0.2.14.tar.gz.

File metadata

  • Download URL: jettask-0.2.14.tar.gz
  • Upload date:
  • Size: 425.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for jettask-0.2.14.tar.gz
Algorithm Hash digest
SHA256 a156d0b85e197cf083bfeb87e29d4630374afe4ea9c21c1bee683871256c9c01
MD5 90be52e4e8c55075905e49416f0020cf
BLAKE2b-256 a0fb0b9f6053a3082cc990b510b136654cd0685f0d4c0dd8b8d992514e995b0b

See more details on using hashes here.

File details

Details for the file jettask-0.2.14-py3-none-any.whl.

File metadata

  • Download URL: jettask-0.2.14-py3-none-any.whl
  • Upload date:
  • Size: 514.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for jettask-0.2.14-py3-none-any.whl
Algorithm Hash digest
SHA256 f19a15b4e85a06b4b7abfe504644d707d2e2460db333671251d9ebf1fb0fc29f
MD5 929ecadeb39572a1eb9ee5dd1b2c080d
BLAKE2b-256 d836b414c17b0f946a93f0c249b839ad32b7bc2566def507af6c9b1371a3dd28

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page