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配置三個角色