- Instant Parallel processing with Gearman
- John Ewart
- 225字
- 2021-08-13 16:21:07
So, what is Gearman?
Gearman is a network-based job-queuing system that was initially developed by Danga Interactive in order to process large volumes of jobs. Its primary design goals were low-latency remote function execution, being able to run code remotely and in parallel, load balancing of job distribution, and supporting writing components in multiple languages.
Although originally written in Perl it is comprised of, at its core, a network protocol that is designed to allow the various components to communicate the lifecycle of a unit of work. Because of this design, there are both servers and client libraries written in multiple languages including Ruby, Perl, PHP, Python, C, C++, and Java.
What this translates into is the ability to design and develop the various components of your architecture in whatever language makes the most sense and have those components communicate easily with one another.
Gearman goes one step further than simply defining a message bus; it formalizes its architecture to focus on units of work. This means that everything in a system using Gearman operates in terms of submitting or working on jobs. To follow this paradigm, Gearman has three main actors: clients who request that work be completed by somebody, the managers (servers) that are responsible for accepting jobs from clients, and then handing those jobs out to workers that ultimately complete the tasks.
- Python科學計算(第2版)
- Instant Apache Stanbol
- Building a Game with Unity and Blender
- 騰訊iOS測試實踐
- 精通搜索分析
- Windows Server 2012 Unified Remote Access Planning and Deployment
- 打開Go語言之門:入門、實戰(zhàn)與進階
- C語言程序設計習題與實驗指導
- CRYENGINE Game Development Blueprints
- Getting Started with Polymer
- Penetration Testing with the Bash shell
- Software-Defined Networking with OpenFlow(Second Edition)
- 高質量程序設計指南:C++/C語言
- JavaScript語法簡明手冊
- Mastering R for Quantitative Finance