Gearman system is used to delegate work to other machines, distributed calls are more suitable for a machine to do a work, concurrent to do a work, in multiple calls between the http://www.aliyun.com/zixun/aggregation/13996.html "> Load balancing, or functions used to invoke other languages.
In general, the integration between multilanguage and multiple systems is a big problem, and in general, people tend to deal with this kind of integration problem in a WebService way, but regardless of the style of WebService, such as RPC style, or restful style, it has a certain complexity. Gearman, by contrast, can do the same and be simpler to use. The process of a Gearman request involves three roles: Client-> Job-> Worker.
Client: The initiator of the request, can be the C,php,perl,mysql UDF, and so on.
Job: The dispatcher of the request that is responsible for coordinating the forwarding of the Client's request to the appropriate Work.
Worker: The processing of the request, can be c,php,perl and so on.
Because Client,worker does not restrict the use of the same language, it facilitates integration among multiple-language systems. Even by adding more Worker, we can easily implement the distributed load-balancing architecture of the application.
Gearmand 0.23 Update log:
* Tabbed brought can now return Gearman_shutdown. * Benchmark worker can now is told to shutdown. * Allocator Code super-delegates been cleaned up (gearman_allocator_t). * Added "brought" option to Gearadmin * brought would now default To-1 as timeout (lowers CPU to Gearmand server for non-active). * So_keepalive is now-enabled on Client/worker 50x15. * By default, brought now grab the unique value of the job.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.