Gearmand 是 Gearman 的作业服务器组件,Gearman是一个分发任务的程序框架,可以用在各种场合,与Hadoop相 比,Gearman更偏向于任务分发功能。它的 任务分布非常 简单,简单得可以只需要用脚本即可完成。Gearman最初用于LiveJournal的图片resize功能,由于图片resize需要消耗大量计算资 源,因此需要调度到后端多台服务器执行,完成任务之后返回前端再呈现到界面。
新版本改进记录:
- Gearmand 增加 --exceptions 选项,并默认启用
- 为系统崩溃提供 Backtraces
- 增加 GEARMAN_CLIENT_GENERATE_UNIQUE
- If the unique value passed to any client function is "#", then the unique value will be derived by hashing the workload that is being supplied to the function.
- 优化状态请求
- 可在关闭时存储队列(体验)(--libsqlite3-store-on-shutdown)
Gearmand 的详细介绍:请点这里
Gearmand 的下载地址:请点这里