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組,或訪問Freenode上它的IRC頻道#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內創建producer和consumer。
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.
一個連接客戶機和worker的Gearman網絡實際上可以使用任何您能想象得到的結構。
The Gearman library for PHP distributes work among a collection of machines.
PHP的Gearman庫能把工作分發給一組機器。
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配置有三個角色