Gearmand 是 Gearman 的作业服务器组件,Gearman是一个分发任务的程序框架,可以用在各种场合,与Hadoop相 比,Gearman更偏向于任务分发功能。它的 任务分布非常 简单,简单得可以只需要用脚本即可完成。Gearman最初用于LiveJournal的图片resize功能,由于图片resize需要消耗大量计算资 源,因此需要调度到后端多台服务器执行,完成任务之后返回前端再呈现到界面。
Gearmand 1.1.11 改进记录包括:
- Workers that return a bad gearman_return_t will be counted as an error by the server and not a final (i.e. they will be retried).
- A possible bug has been fixed where the server would over count the number of NOOP sent if NOOP messages did not get sent.
- gearman_job_use_client() has been added.
- Compile time has been improved.
- A fix for NOOP failure (bad worker causes early exit of loop).
- A fix for PostgreSQL (use INFORMATION_SCHEMA).
- gearman_client_has_active_tasks() has been added so that you can see if a client has active tasks that it is working on
Gearmand 的详细介绍:请点这里
Gearmand 的下载地址:请点这里
