Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我注意到很多人在讨论 Gearman,它的调度功能使其能够将工作分配到其他服务器上。但是,我还没有看到与本地 cronjobs 的比较。
cron 和 Gearman 有什么区别?
如果您正在执行纯调度,则无需使用 Gearman。
Gearman 和 cron 之间的主要区别在于:
除非您的应用程序需要将繁重的同步处理外包给其他服务器,否则我建议您使用 cron 并保持简单。