epub文档 Celery v4.4.6 Documentation

1.44 MB 1216 页 0 评论
语言 格式 评分
英语
.epub
3
摘要
The document describes the current stable version of Celery (4.4.6), a distributed programming framework for processing messages and maintaining distributed systems in Python. It focuses on real-time processing and task scheduling, with backward compatibility and support for multiple Python versions, including CPython 2.7, 3.5, 3.6, 3.7, 3.8, and PyPy. The document details changes, bug fixes, and new features across different versions, including 4.4.6, 4.4.5, and 4.4.4, with specific updates to autoscale methods, retry intervals, and dependency management.
AI总结
以下是《Celery v4.4.6 Documentation》的中文总结: --- ** Celery v4.4.6 文档总结 ** **1. 概述** Celery 是一个简单、灵活且可靠的分布式编程框架,用于处理大量消息,并提供维护分布式系统所需的工具。它是一个专注于实时处理的任务队列,同时支持任务调度。Celery 支持 Python 2.7、3.5 及以上版本(详见支持的 Python 版本部分),并且有一个庞大且多样化的用户和贡献者社区。 **2. 版本更新** ### 2.1 Celery 4.4 系列 - **Celery 4.4.6**(2020年6月24日发布): - 修复了多个问题,包括: - 移除了 `autoscale force_scale` 方法。 - 修复了 `autoscale` 测试。 - 优化了 CassandraBackend 在多线程或 gevent 环境中的错误处理。 - 新增功能: - 添加了 `–range-prefix` 选项,用于 `celery multi`。 - `AsyncResult` 类新增 `as_list` 函数。 - **Celery 4.4.5**(2020年6月8日发布): - 修复了 Elasticsearch 在文档被删除时的重试问题。 - 添加了对 `future` 的依赖。 - 自定义了 `chord_unlock` 任务的重试间隔。 - **Celery 4.4.4**(2020年6月3日发布): - 修复了 `autoretry_for` 与显式重试相关的问题。 --- **3. 其他版本更新** ### 3.1 Celery 4.4.x 系列 - **Celery 4.4.0 及以上版本**: - 官方支持的 Python 版本包括 CPython 2.7、3.5、3.6、3.7 和 3.8,以及 PyPy2 和 PyPy3。 - 不再支持 Python 3.4。 ### 3.2 Celery 4.3(rhubarb) - 支持的 Python 版本扩展至 3.7 和 PyPy2、PyPy3。 - 其他更新包括 Kombu 和 Billiard 的优化。 --- **4. 其他重要信息** - **支持的 Python 版本**: - Celery 4.4 系列不再支持 Python 3.4。 - Windows 系统不再受官方支持,但可能仍然可用,欢迎提交补丁。 - **升级指南**: - 升级时需仔细阅读重要注意事项,尤其是配置更新和版本兼容性问题。 - **社区与贡献**: - Celery 拥有一个庞大且活跃的社区,欢迎通过 IRC 或邮件列表加入。 --- **5. 历史版本更新** - **早期版本**(如 2.1、2.4 等): - 包括多个安全修复、功能改进和文档更新,具体可参考各版本的变更日志。 --- **总结** 本总结涵盖了 Celery 4.4 系列的主要更新内容,包括版本 4.4.6、4.4.5 和 4.4.4 的新功能、改进和修复。同时提到了对 Python 版本的支持情况、升级注意事项及社区信息。
P1
P2
P3
P4
P5
P6
P7
下载文档到本地,方便使用
- 可预览页数已用完,剩余 1209 页请下载阅读 -
文档评分
请文明评论,理性发言.