woocommerce/action-scheduler
Composer 安装命令:
composer require woocommerce/action-scheduler
包简介
Action Scheduler for WordPress and WooCommerce
README 文档
README
Action Scheduler is a scalable, traceable job queue for background processing large sets of actions in WordPress. It's specially designed to be distributed in WordPress plugins.
Action Scheduler works by triggering an action hook to run at some time in the future. Each hook can be scheduled with unique data, to allow callbacks to perform operations on that data. The hook can also be scheduled to run on one or more occasions.
Think of it like an extension to do_action() which adds the ability to delay and repeat a hook.
Battle-Tested Background Processing
Every month, Action Scheduler processes millions of payments for Subscriptions, webhooks for WooCommerce, as well as emails and other events for a range of other plugins.
It's been seen on live sites processing queues in excess of 50,000 jobs and doing resource intensive operations, like processing payments and creating orders, at a sustained rate of over 10,000 / hour without negatively impacting normal site operations.
This is all on infrastructure and WordPress sites outside the control of the plugin author.
If your plugin needs background processing, especially of large sets of tasks, Action Scheduler can help.
Learn More
To learn more about how to Action Scheduler works, and how to use it in your plugin, check out the docs on ActionScheduler.org.
There you will find:
- Usage guide: instructions on installing and using Action Scheduler
- WP CLI guide: instructions on running Action Scheduler at scale via WP CLI
- API Reference: complete reference guide for all API functions
- Administration Guide: guide to managing scheduled actions via the administration screen
- Guide to Background Processing at Scale: instructions for running Action Scheduler at scale via the default WP Cron queue runner
Credits
Action Scheduler is developed and maintained by Automattic with significant early development completed by Flightless.
Collaboration is cool. We'd love to work with you to improve Action Scheduler. Pull Requests welcome.
woocommerce/action-scheduler 适用场景与选型建议
woocommerce/action-scheduler 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 7.51M 次下载、GitHub Stars 达 713, 最近一次更新时间为 2020 年 01 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 woocommerce/action-scheduler 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 woocommerce/action-scheduler 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 7.51M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 716
- 点击次数: 36
- 依赖项目数: 62
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2020-01-13