gearman

gearman

 英

  • 网络异步计算方案;码头工具管理员;任务调度程序

例句

When used in a cloud environment, you use the flexible nature of Gearman to ramp up the available workers when you need them.

环境使用利用Gearman灵活特点运行可用工人

If the version number matches that of the Gearman library you built and installed previously, your system is ready.

如果这个版本之前构建安装Gearman版本相匹配那么系统准备好

Assuming that you host your PHP applications on a typical LAMP configuration, Gearman requires an additional daemon and a PHP extension.

假设PHP应用程序托管一个典型LAMP配置那么Gearman需要一个额外守护程序以及一个PHP扩展

The easiest way to see how Gearman works is to try a simple application that makes use of the Gearman service.

了解Gearman如何工作容易方式尝试一个使用Gearman服务简单应用程序

To track the Gearman project, subscribe to its Google group, or visit its IRC channel, #gearman, on Freenode.

为了跟踪这个Gearman项目可以订阅Google访问FreenodeIRC频道#gearman。

To run the other script, all you need are the Gearman libraries, script modules, and the script itself.

运行另外脚本需要只有Gearman脚本模块脚本本身

Using Gearman from PHP is similar to the previous example, except that you create the producer and consumer actors in PHP.

PHP使用Gearman类似之前示例惟一区别在于这里PHP创建producerconsumer

Future releases of Gearman will collect and report statistics, provide advanced monitoring, and cache job results, among other things.

Gearman未来版本收集报告统计数据提供高级监视缓存作业结果

Gearman takes a different approach by providing a flexible mechanism for distributing discrete tasks around a group of machines.

Gearman采用不同方法机器分布离散任务提供一种灵活机制

Gearman doesn't do any form of translation or manipulation of the data exchanged.

Gearman进行交换数据任何转换操作

For the former, the Gearman work queue remains in memory but is backed by a relational database.

对于前者Gearman工作队保存内存一个关系型数据库存有备份

You create a Gearman Client object, specify the servers, and call the task that you want to perform.

创建一个GearmanClient对象指定服务器调用想要执行任务

So far, you have looked at ways of using Gearman where you want or need an immediate response.

目前为止已经了解想要需要即时响应时候使用Gearman方式

This makes Gearman useful in grid environments or Web environments where you want to share and distribute work and requests.

使得Gearman环境Web环境有用——这样环境想要共享分布工作请求

A Gearman network, tying clients to workers, can take virtually any shape you can imagine.

一个连接客户机workerGearman网络实际上可以使用任何想象得到结构

The Gearman library for PHP distributes work among a collection of machines.

PHPGearman工作发给机器

Run a worker with the command-line utility gearman.

命令实用工具gearman运行一个worker

Moreover, because the Gearman protocol is language and platform independent, you can mix programming languages in your solution.

而且由于Gearman协议独立语言平台所以可以解决方案混合编程语言

You have a standard Gearman environment using your standard group of workers serving the needs of your clients.

具有一个标准Gearman环境使用标准工人满足客户机需求

News aggregator Digg has built a Gearman network of similar size to crunch 400, 000 jobs per day.

新闻聚合Digg构建一个相同规模Gearman网络每天处理400,000作业

uses Gearman across 60 or more servers to process 6 million jobs per day.

60更多服务器使用Gearman每天处理600万作业

Thus, if the Gearman daemon fails, it can recreate the work queue on restart.

这样一来如果Gearman守护程序故障可以重新创建这个工作队

For example, if you are providing or using Twitter integration, you can use Gearman to handle the posting to the Twitter account.

例如如果提供使用Twitter集成那么可以使用Gearman处理Twitter帐户发布

You can also verify a proper build and installation with a snippet of PHP code. Save this little application to verify_gearman. php

此外可以一个PHP代码片段验证构建安装是否得当

Deploying Gearman in dynamic environments

动态环境部署Gearman

Using Gearman across environments

环境使用Gearman

As mentioned earlier, a Gearman configuration has three kinds of actors

我们前面提到一个Gearman配置三个角色