SlideShare a Scribd company logo
Gearman: Parallel
Process
Ju-Nan Lin
PIXNET Digital Media Corporation
12年3月22日星期四
Message Queue
• Process some job (ex. Image processing) in
Foreground/Background
• Client
• Job Server => Dispatching Job
• Worker
• Multiple Workers => Parallel Process
12年3月22日星期四
Protocol/Software
• AMQP - Advanced Message Queuing
Protocol
• RabbitMQ
• Gearman
• Brad Fitzpatrick
• Memcached
12年3月22日星期四
Gearman
• http://gearman.org/
12年3月22日星期四
Gearman Job Server
• Original written in Perl
• C version exists
• Volatile/Persistent Queue
12年3月22日星期四
Gearman Worker
• Library
• C/C++
• Java
• PHP/Perl/Python/Ruby
• http://gearman.org/index.php?
id=download#client_worker_apis
12年3月22日星期四
Gearman Worker
12年3月22日星期四
Gearman Worker
• One Process => Run one job concurrently
• Multi Core CPU => Multi Process
• Multi Servers => Multi Process
12年3月22日星期四
Gearman Client
12年3月22日星期四
Gearman Client
• Return result just after all tasks are
completed
• Async/Sync Mode
12年3月22日星期四
Q&A
12年3月22日星期四

More Related Content

PDF
Linux performance analysis cpu
静 丁
 
PPTX
Zero mq 金铺首页应用实践
philying
 
PPT
Gearman - Job Queue
Diego Lewin
 
KEY
Gearman and CodeIgniter
Erik Giberti
 
PDF
Distributed Queue System using Gearman
Eric Cho
 
PDF
Gearman: A Job Server made for Scale
Mike Willbanks
 
PDF
Gearman and Perl
Andrew Shitov
 
PDF
Gearinfive
bpmedley
 
Linux performance analysis cpu
静 丁
 
Zero mq 金铺首页应用实践
philying
 
Gearman - Job Queue
Diego Lewin
 
Gearman and CodeIgniter
Erik Giberti
 
Distributed Queue System using Gearman
Eric Cho
 
Gearman: A Job Server made for Scale
Mike Willbanks
 
Gearman and Perl
Andrew Shitov
 
Gearinfive
bpmedley
 

Viewers also liked (14)

PPT
A Practical Event Driven Model
Xi Wu
 
PDF
Distribute the workload, PHPTek, Amsterdam, 2011
Helgi Þormar Þorbjörnsson
 
PDF
German Perl Workshop 2015 - Infrastruktur als Code
Jan Gehring
 
PPTX
Distributed Applications with Perl & Gearman
Issac Goldstand
 
PDF
Scale like an ant, distribute the workload - DPC, Amsterdam, 2011
Helgi Þormar Þorbjörnsson
 
KEY
Scale like a pro with Gearman
Amal Raghav
 
PDF
WebCamp: Developer Day: N2O: The Most Powerful Erlang Web Framework - Максим ...
GeeksLab Odessa
 
PDF
MPI, Erlang and the web
Lenz Gschwendtner
 
PDF
Perl.Hacks.On.Vim
Lin Yo-An
 
PDF
Gearman for MySQL
Giuseppe Maxia
 
PPT
Candra lab gis v 1
Candra Adi Putra
 
PPTX
Home Automation with perl
flyingrobin13
 
PPT
Unix Programming with Perl
Kazuho Oku
 
PPT
Data structures
Saurabh Mishra
 
A Practical Event Driven Model
Xi Wu
 
Distribute the workload, PHPTek, Amsterdam, 2011
Helgi Þormar Þorbjörnsson
 
German Perl Workshop 2015 - Infrastruktur als Code
Jan Gehring
 
Distributed Applications with Perl & Gearman
Issac Goldstand
 
Scale like an ant, distribute the workload - DPC, Amsterdam, 2011
Helgi Þormar Þorbjörnsson
 
Scale like a pro with Gearman
Amal Raghav
 
WebCamp: Developer Day: N2O: The Most Powerful Erlang Web Framework - Максим ...
GeeksLab Odessa
 
MPI, Erlang and the web
Lenz Gschwendtner
 
Perl.Hacks.On.Vim
Lin Yo-An
 
Gearman for MySQL
Giuseppe Maxia
 
Candra lab gis v 1
Candra Adi Putra
 
Home Automation with perl
flyingrobin13
 
Unix Programming with Perl
Kazuho Oku
 
Data structures
Saurabh Mishra
 
Ad

Gearman