SlideShare a Scribd company logo
1 of 19
Download to read offline
Gearman: a technology
                     for distributed
                       computing
                                  Giuseppe Maxia
                             MySQL Community Team Lead
                                 Sun Microsystems




Wednesday, 07 October 2009

This is a quick talk that introduces technologies in the age of cloud computing
about me -Giuseppe Maxia
   ļ‚§     a.k.a. The Data Charmer
   ļ‚§     MySQL Community Team Lead
   ļ‚§     Long time hacking with MySQL features
   ļ‚§     Formerly, database consultant, designer, coder.
   ļ‚§     A passion for QA
   ļ‚§     An even greater passion for open source
   ļ‚§     ... and community
   ļ‚§     Passionate blogger



   http://datacharmer.blogspot.com
Wednesday, 07 October 2009
Mainframe

                                                                 terminal
                             Mainframe

                                                                 terminal

                operating system
                                                                                client
                                                                 terminal
                             hardware

                              application
                                                                 terminal
    0                                                                            100
                                            USER FRIENDLINESS
Wednesday, 07 October 2009

We start with a big of history of computing.
In the age of mainframes, users could only choose the whole system, or nothing. Hardware,
operating system, and software came from the same company. The only priority was towards
getting the job done with the minimal expenses. Users needs were negligible
Mini computers
               Mainframe                    Mini                    terminal


                                                                    terminal
         operating system                  Mini
                                                                                    client
                       hardware                                     terminal

                         application
                                                                    terminal
    0                                                                               100
                                       USER FRIENDLINESS
Wednesday, 07 October 2009

Minicomputers added some level of ļ¬‚exibility to the user's experience, although the
information system was still (with little exceptions) a matter of choosing a company. The user
experience improved a bit, but only for very power users.
Networks
                   server                                                 personal
                                                                         computer

                                                                          personal
       operating operating                                               computer
        system    system
                                                                          personal      client
         hardware            hardware                                    computer
                                        hardware
                                                                          personal
                     application
    0                                                                    computer        100
                                        USER FRIENDLINESS
Wednesday, 07 October 2009

Networks made a giant leap towards a better user experience.
Users were relatively free of choosing their hardware, possibly different operating systems,
although there was still only one application for the main business. Yes, users could run their
local applications (solitaire started being popular these days :-) ) but still the system was a bit
stiff
Web applications
              web server                                                browser




                                                 INTERNET
                                                                       browser
       operating operating
                        operating
        system system systemoperating
                             system
                                                                                     client
                                                                       browser
        hardware hardware
                            hardware

                     application                                       browser
    0                                                                                 100
                                   USER FRIENDLINESS
Wednesday, 07 October 2009

More ļ¬‚exibility came with the adoption of web infrastructures. The most important being
freedom from close location. Web applications run quite well regardless of the location of the
servers, thanks also to the availability of better hardware and bandwidth. Applications for the
main business, though, remain stiff. Mainly, the business data is only accessible through one
set of applications, written in one language, and often tied to a speciļ¬c operating system.
service
                             Cloud applications
       provider service
                provider
             service
            provider
        service                                                     browser
       provider                             web




                                                    INTERNET
                                           server
                                                                    browser
       operating operating
                        operating
        system system system
                                                                                  client
                                                                    browser
         hardware            hardware
                                        hardware

             application applicationapplication                     browser
    0                                                                             100
                                        USER FRIENDLINESS
Wednesday, 07 October 2009

With cloud computing, the possibilities grow. Not only the clients are free of choosing
hardware and operating systems, but they can also share and choose different applications
that are available through providers, independently from the operating system and language
used by the clients.
Some actors

               ā€¢ memcached
               ā€¢ gearman

                             Used in production by Facebook and Digg



Wednesday, 07 October 2009

In this quick introduction, we will only mention a few popular systems that are used in
popular web sites. Memcached is a distributed cache environment that helps scaling the
performance of demanding web sites. Gearman is described in the next slides
GEARMAN


Wednesday, 07 October 2009

What is it? Pay attention to the spelling
!= G ER M A N


Wednesday, 07 October 2009

Not "german"! It is not a language. It's a system, where a server accepts requests from clients,
sends the requests to workers and dispatches the answers back.
G E A R M A N?


Wednesday, 07 October 2009

And what exactly is it? Think about it. It's an anagram.
Do you know of somebody who doesn't do anything except telling the workers what to do
and then getting a "thank you" from clients?
MANAGER

Wednesday, 07 October 2009

of course! it's a MANAGER.
job
                                                     task
                                                                                    request




           server                    worker                            client

                  http://gearman.org
Wednesday, 07 October 2009

Anyway, in Gearman, there are several concepts.
A worker will register with the server the list of tasks that it can perform.
A client will request jobs from the server. The server gives tasks to the workers, collects the
results, and passed them back to the clients.
Distributed




Wednesday, 07 October 2009

The beauty of Gearman is that everything can be on a different host.
Multiple operating systems




Wednesday, 07 October 2009

There is no difference if one of the actors is using one operating system rather than the same
one used by the server. Actually, clients can get speciļ¬c advantage of this architecture, by
requesting tasks that are not available in their operating system but can be easily performed
in the OS of one of the workers.
multiple languages




Wednesday, 07 October 2009

Language, the greatest divider in the recent technology, is not an obstacle anymore. Clients
can keep coding in the language they are most familiar with, and the workers will use
libraries and classes that are only available to speciļ¬c languages, without need for the clients
to be involved with the nitpicks of such complex systems.
freedom of
                                                                          choice



Wednesday, 07 October 2009

Clients can really use several languages, and request tasks that are performed remotely in
any language.
redundancy



Wednesday, 07 October 2009

Gearman can be a robust system. It allows redundant servers for high availability. Each
worker can register its tasks to several servers, and every client can request a job from more
than one server.
More on similar matters

     ā€¢ Italian Perl Workshop, Pisa, 22-Oct-2009
     ā€¢ FOSS.MY, Kuala Lumpur, Malaysia, 25-Oct-2009
     ā€¢ CodeBits, Lisbon, Portugal, 3-4-5-Dec-2009
     http://datacharmer.blogspot.com

                  http://gearman.org
Wednesday, 07 October 2009

More Related Content

What's hot

Novell Success Stories: Endpoint Management for Nonprofits
Novell Success Stories: Endpoint Management for NonprofitsNovell Success Stories: Endpoint Management for Nonprofits
Novell Success Stories: Endpoint Management for NonprofitsNovell
Ā 
Minicom in the Data Center
Minicom in the Data CenterMinicom in the Data Center
Minicom in the Data Centerdavidzucker
Ā 
virtualization tutorial at ACM bangalore Compute 2009
virtualization tutorial at ACM bangalore Compute 2009virtualization tutorial at ACM bangalore Compute 2009
virtualization tutorial at ACM bangalore Compute 2009ACMBangalore
Ā 
Check Point75 Makes3 D Security A Reality Q22011
Check Point75 Makes3 D Security A Reality Q22011Check Point75 Makes3 D Security A Reality Q22011
Check Point75 Makes3 D Security A Reality Q22011chaucheckpoint
Ā 
Implementing Process Controls and Risk Management with Novell Compliance Mana...
Implementing Process Controls and Risk Management with Novell Compliance Mana...Implementing Process Controls and Risk Management with Novell Compliance Mana...
Implementing Process Controls and Risk Management with Novell Compliance Mana...Novell
Ā 
E Vm Virtualization
E Vm VirtualizationE Vm Virtualization
E Vm VirtualizationArturo Saavedra
Ā 
VMware View 4
VMware View 4VMware View 4
VMware View 4netlogix
Ā 
Citrix Synergy Barcelona 2012 Day Two Super Session
Citrix Synergy Barcelona 2012 Day Two Super SessionCitrix Synergy Barcelona 2012 Day Two Super Session
Citrix Synergy Barcelona 2012 Day Two Super SessionCitrix
Ā 
Novell Support Revealed! An Insider's Peek and Feedback Opportunity
Novell Support Revealed! An Insider's Peek and Feedback OpportunityNovell Support Revealed! An Insider's Peek and Feedback Opportunity
Novell Support Revealed! An Insider's Peek and Feedback OpportunityNovell
Ā 
Hisham Dalle - Zero client computing - taking the desktop into the cloud
Hisham Dalle - Zero client computing - taking the desktop into the cloudHisham Dalle - Zero client computing - taking the desktop into the cloud
Hisham Dalle - Zero client computing - taking the desktop into the cloudnooralmousa
Ā 
Linux Foundation Collaboration Summit 13 :10 years of Xen and Beyond
Linux Foundation Collaboration Summit 13 :10 years of Xen and BeyondLinux Foundation Collaboration Summit 13 :10 years of Xen and Beyond
Linux Foundation Collaboration Summit 13 :10 years of Xen and BeyondThe Linux Foundation
Ā 
Novell Success Stories: Endpoint Management in Education
Novell Success Stories: Endpoint Management in EducationNovell Success Stories: Endpoint Management in Education
Novell Success Stories: Endpoint Management in EducationNovell
Ā 
Xen summit 2010 extending xen into embedded
Xen summit 2010 extending xen into embeddedXen summit 2010 extending xen into embedded
Xen summit 2010 extending xen into embeddedThe Linux Foundation
Ā 
Novell Success Stories: Endpoint Management in High Tech and Professional Ser...
Novell Success Stories: Endpoint Management in High Tech and Professional Ser...Novell Success Stories: Endpoint Management in High Tech and Professional Ser...
Novell Success Stories: Endpoint Management in High Tech and Professional Ser...Novell
Ā 
Vision dt solutions vmug leeds
Vision dt solutions vmug leedsVision dt solutions vmug leeds
Vision dt solutions vmug leedssubtitle
Ā 
Overview of VMware & VMware Education from IBM
Overview of VMware & VMware Education from IBMOverview of VMware & VMware Education from IBM
Overview of VMware & VMware Education from IBMctc TrainCanada
Ā 

What's hot (20)

Novell Success Stories: Endpoint Management for Nonprofits
Novell Success Stories: Endpoint Management for NonprofitsNovell Success Stories: Endpoint Management for Nonprofits
Novell Success Stories: Endpoint Management for Nonprofits
Ā 
XenDesktop Presentations 25022010
XenDesktop Presentations 25022010XenDesktop Presentations 25022010
XenDesktop Presentations 25022010
Ā 
Minicom in the Data Center
Minicom in the Data CenterMinicom in the Data Center
Minicom in the Data Center
Ā 
The Case for Virtual Desktops
The Case for Virtual Desktops The Case for Virtual Desktops
The Case for Virtual Desktops
Ā 
virtualization tutorial at ACM bangalore Compute 2009
virtualization tutorial at ACM bangalore Compute 2009virtualization tutorial at ACM bangalore Compute 2009
virtualization tutorial at ACM bangalore Compute 2009
Ā 
Check Point75 Makes3 D Security A Reality Q22011
Check Point75 Makes3 D Security A Reality Q22011Check Point75 Makes3 D Security A Reality Q22011
Check Point75 Makes3 D Security A Reality Q22011
Ā 
Implementing Process Controls and Risk Management with Novell Compliance Mana...
Implementing Process Controls and Risk Management with Novell Compliance Mana...Implementing Process Controls and Risk Management with Novell Compliance Mana...
Implementing Process Controls and Risk Management with Novell Compliance Mana...
Ā 
E Vm Virtualization
E Vm VirtualizationE Vm Virtualization
E Vm Virtualization
Ā 
VMware View 4
VMware View 4VMware View 4
VMware View 4
Ā 
Citrix Synergy Barcelona 2012 Day Two Super Session
Citrix Synergy Barcelona 2012 Day Two Super SessionCitrix Synergy Barcelona 2012 Day Two Super Session
Citrix Synergy Barcelona 2012 Day Two Super Session
Ā 
Software newsletter
Software newsletterSoftware newsletter
Software newsletter
Ā 
Novell Support Revealed! An Insider's Peek and Feedback Opportunity
Novell Support Revealed! An Insider's Peek and Feedback OpportunityNovell Support Revealed! An Insider's Peek and Feedback Opportunity
Novell Support Revealed! An Insider's Peek and Feedback Opportunity
Ā 
Hisham Dalle - Zero client computing - taking the desktop into the cloud
Hisham Dalle - Zero client computing - taking the desktop into the cloudHisham Dalle - Zero client computing - taking the desktop into the cloud
Hisham Dalle - Zero client computing - taking the desktop into the cloud
Ā 
Linux Foundation Collaboration Summit 13 :10 years of Xen and Beyond
Linux Foundation Collaboration Summit 13 :10 years of Xen and BeyondLinux Foundation Collaboration Summit 13 :10 years of Xen and Beyond
Linux Foundation Collaboration Summit 13 :10 years of Xen and Beyond
Ā 
Virtualization
VirtualizationVirtualization
Virtualization
Ā 
Novell Success Stories: Endpoint Management in Education
Novell Success Stories: Endpoint Management in EducationNovell Success Stories: Endpoint Management in Education
Novell Success Stories: Endpoint Management in Education
Ā 
Xen summit 2010 extending xen into embedded
Xen summit 2010 extending xen into embeddedXen summit 2010 extending xen into embedded
Xen summit 2010 extending xen into embedded
Ā 
Novell Success Stories: Endpoint Management in High Tech and Professional Ser...
Novell Success Stories: Endpoint Management in High Tech and Professional Ser...Novell Success Stories: Endpoint Management in High Tech and Professional Ser...
Novell Success Stories: Endpoint Management in High Tech and Professional Ser...
Ā 
Vision dt solutions vmug leeds
Vision dt solutions vmug leedsVision dt solutions vmug leeds
Vision dt solutions vmug leeds
Ā 
Overview of VMware & VMware Education from IBM
Overview of VMware & VMware Education from IBMOverview of VMware & VMware Education from IBM
Overview of VMware & VMware Education from IBM
Ā 

Viewers also liked

Ease into HTML5 and CSS3
Ease into HTML5 and CSS3Ease into HTML5 and CSS3
Ease into HTML5 and CSS3Brian Moon
Ā 
Website review
Website reviewWebsite review
Website reviewspg
Ā 
Gearmam, from the_worker's_perspective copy
Gearmam, from the_worker's_perspective copyGearmam, from the_worker's_perspective copy
Gearmam, from the_worker's_perspective copyBrian Aker
Ā 
Gearmanpresentation 110308165409-phpapp01
Gearmanpresentation 110308165409-phpapp01Gearmanpresentation 110308165409-phpapp01
Gearmanpresentation 110308165409-phpapp01longtuan
Ā 
Kill bottlenecks with gearman, sphinx, and memcached, Confoo 2011
Kill bottlenecks with gearman, sphinx, and memcached, Confoo 2011Kill bottlenecks with gearman, sphinx, and memcached, Confoo 2011
Kill bottlenecks with gearman, sphinx, and memcached, Confoo 2011Bachkoutou Toutou
Ā 
Work Queues
Work QueuesWork Queues
Work Queuesciconf
Ā 
Scale like a pro with Gearman
Scale like a pro with GearmanScale like a pro with Gearman
Scale like a pro with GearmanAmal Raghav
Ā 
Gearman and asynchronous processing in PHP applications
Gearman and asynchronous processing in PHP applicationsGearman and asynchronous processing in PHP applications
Gearman and asynchronous processing in PHP applicationsTeamskunkworks
Ā 

Viewers also liked (8)

Ease into HTML5 and CSS3
Ease into HTML5 and CSS3Ease into HTML5 and CSS3
Ease into HTML5 and CSS3
Ā 
Website review
Website reviewWebsite review
Website review
Ā 
Gearmam, from the_worker's_perspective copy
Gearmam, from the_worker's_perspective copyGearmam, from the_worker's_perspective copy
Gearmam, from the_worker's_perspective copy
Ā 
Gearmanpresentation 110308165409-phpapp01
Gearmanpresentation 110308165409-phpapp01Gearmanpresentation 110308165409-phpapp01
Gearmanpresentation 110308165409-phpapp01
Ā 
Kill bottlenecks with gearman, sphinx, and memcached, Confoo 2011
Kill bottlenecks with gearman, sphinx, and memcached, Confoo 2011Kill bottlenecks with gearman, sphinx, and memcached, Confoo 2011
Kill bottlenecks with gearman, sphinx, and memcached, Confoo 2011
Ā 
Work Queues
Work QueuesWork Queues
Work Queues
Ā 
Scale like a pro with Gearman
Scale like a pro with GearmanScale like a pro with Gearman
Scale like a pro with Gearman
Ā 
Gearman and asynchronous processing in PHP applications
Gearman and asynchronous processing in PHP applicationsGearman and asynchronous processing in PHP applications
Gearman and asynchronous processing in PHP applications
Ā 

Similar to Quick Introduction to Gearman

Gearman For Beginners
Gearman For BeginnersGearman For Beginners
Gearman For BeginnersGiuseppe Maxia
Ā 
Intro cloud-1
Intro cloud-1Intro cloud-1
Intro cloud-1Studying
Ā 
Intro cloud-1
Intro cloud-1Intro cloud-1
Intro cloud-1Studying
Ā 
Introduction to cloud computing
Introduction to cloud computingIntroduction to cloud computing
Introduction to cloud computingJithin Parakka
Ā 
InduSoft Web Studio and DCS Conversion and Integration Webinar
InduSoft Web Studio and DCS Conversion and Integration WebinarInduSoft Web Studio and DCS Conversion and Integration Webinar
InduSoft Web Studio and DCS Conversion and Integration WebinarAVEVA
Ā 
Mikehall FutureWorld 2010 - enabling connectivity
Mikehall FutureWorld 2010 - enabling connectivityMikehall FutureWorld 2010 - enabling connectivity
Mikehall FutureWorld 2010 - enabling connectivityMicrosoft Windows Embedded
Ā 
End User Computing & Server Licensing Slides - Nhs Microsoft Licensing Wo...
End User Computing & Server Licensing Slides - Nhs Microsoft Licensing Wo...End User Computing & Server Licensing Slides - Nhs Microsoft Licensing Wo...
End User Computing & Server Licensing Slides - Nhs Microsoft Licensing Wo...Charlie78horse
Ā 
Cloud Computing Security
Cloud Computing SecurityCloud Computing Security
Cloud Computing SecurityPiyush Mittal
Ā 
IBM SmartCloud Orchestration
IBM SmartCloud OrchestrationIBM SmartCloud Orchestration
IBM SmartCloud OrchestrationIBM Danmark
Ā 
Regarding Clouds, Mainframes, and Desktops ā€¦ and Linux
Regarding Clouds, Mainframes, and Desktops ā€¦ and LinuxRegarding Clouds, Mainframes, and Desktops ā€¦ and Linux
Regarding Clouds, Mainframes, and Desktops ā€¦ and LinuxRobert Sutor
Ā 
Introduction to Cloud Computing
Introduction to Cloud ComputingIntroduction to Cloud Computing
Introduction to Cloud ComputingTom Eberle
Ā 
User owned devices
User owned devicesUser owned devices
User owned devicesKim Jensen
Ā 
Virtual Insight Linked In Wi 2003
Virtual Insight Linked In Wi 2003Virtual Insight Linked In Wi 2003
Virtual Insight Linked In Wi 2003bjhutt
Ā 
Day 3 p4 - cloud strategy
Day 3   p4 - cloud strategyDay 3   p4 - cloud strategy
Day 3 p4 - cloud strategyLilian Schaffer
Ā 
Day 3 p4 - cloud strategy
Day 3   p4 - cloud strategyDay 3   p4 - cloud strategy
Day 3 p4 - cloud strategyLilian Schaffer
Ā 
Inventit service sync internet-of-things m2m application enablement platform
Inventit service sync internet-of-things m2m application enablement platformInventit service sync internet-of-things m2m application enablement platform
Inventit service sync internet-of-things m2m application enablement platformtaknishida
Ā 
Gen-i Cloud 101 presentation
Gen-i Cloud 101 presentationGen-i Cloud 101 presentation
Gen-i Cloud 101 presentationSimmy_online
Ā 
Symantec Endpoint Virtualization Suite
Symantec Endpoint Virtualization SuiteSymantec Endpoint Virtualization Suite
Symantec Endpoint Virtualization SuitePipeline Srl
Ā 

Similar to Quick Introduction to Gearman (20)

Gearman For Beginners
Gearman For BeginnersGearman For Beginners
Gearman For Beginners
Ā 
Intro cloud-1
Intro cloud-1Intro cloud-1
Intro cloud-1
Ā 
Intro cloud-1
Intro cloud-1Intro cloud-1
Intro cloud-1
Ā 
Introduction to cloud computing
Introduction to cloud computingIntroduction to cloud computing
Introduction to cloud computing
Ā 
InduSoft Web Studio and DCS Conversion and Integration Webinar
InduSoft Web Studio and DCS Conversion and Integration WebinarInduSoft Web Studio and DCS Conversion and Integration Webinar
InduSoft Web Studio and DCS Conversion and Integration Webinar
Ā 
DESKTOP VIRTUALIZZATIONS
DESKTOP VIRTUALIZZATIONSDESKTOP VIRTUALIZZATIONS
DESKTOP VIRTUALIZZATIONS
Ā 
Mikehall FutureWorld 2010 - enabling connectivity
Mikehall FutureWorld 2010 - enabling connectivityMikehall FutureWorld 2010 - enabling connectivity
Mikehall FutureWorld 2010 - enabling connectivity
Ā 
End User Computing & Server Licensing Slides - Nhs Microsoft Licensing Wo...
End User Computing & Server Licensing Slides - Nhs Microsoft Licensing Wo...End User Computing & Server Licensing Slides - Nhs Microsoft Licensing Wo...
End User Computing & Server Licensing Slides - Nhs Microsoft Licensing Wo...
Ā 
Cloud Computing Security
Cloud Computing SecurityCloud Computing Security
Cloud Computing Security
Ā 
IBM SmartCloud Orchestration
IBM SmartCloud OrchestrationIBM SmartCloud Orchestration
IBM SmartCloud Orchestration
Ā 
Regarding Clouds, Mainframes, and Desktops ā€¦ and Linux
Regarding Clouds, Mainframes, and Desktops ā€¦ and LinuxRegarding Clouds, Mainframes, and Desktops ā€¦ and Linux
Regarding Clouds, Mainframes, and Desktops ā€¦ and Linux
Ā 
Introduction to Cloud Computing
Introduction to Cloud ComputingIntroduction to Cloud Computing
Introduction to Cloud Computing
Ā 
ThinClient
ThinClientThinClient
ThinClient
Ā 
User owned devices
User owned devicesUser owned devices
User owned devices
Ā 
Virtual Insight Linked In Wi 2003
Virtual Insight Linked In Wi 2003Virtual Insight Linked In Wi 2003
Virtual Insight Linked In Wi 2003
Ā 
Day 3 p4 - cloud strategy
Day 3   p4 - cloud strategyDay 3   p4 - cloud strategy
Day 3 p4 - cloud strategy
Ā 
Day 3 p4 - cloud strategy
Day 3   p4 - cloud strategyDay 3   p4 - cloud strategy
Day 3 p4 - cloud strategy
Ā 
Inventit service sync internet-of-things m2m application enablement platform
Inventit service sync internet-of-things m2m application enablement platformInventit service sync internet-of-things m2m application enablement platform
Inventit service sync internet-of-things m2m application enablement platform
Ā 
Gen-i Cloud 101 presentation
Gen-i Cloud 101 presentationGen-i Cloud 101 presentation
Gen-i Cloud 101 presentation
Ā 
Symantec Endpoint Virtualization Suite
Symantec Endpoint Virtualization SuiteSymantec Endpoint Virtualization Suite
Symantec Endpoint Virtualization Suite
Ā 

More from Giuseppe Maxia

MySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployerMySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployerGiuseppe Maxia
Ā 
Test like a_boss
Test like a_bossTest like a_boss
Test like a_bossGiuseppe Maxia
Ā 
Dbdeployer, the universal installer
Dbdeployer, the universal installerDbdeployer, the universal installer
Dbdeployer, the universal installerGiuseppe Maxia
Ā 
Test complex database systems in your laptop with dbdeployer
Test complex database systems in your laptop with dbdeployerTest complex database systems in your laptop with dbdeployer
Test complex database systems in your laptop with dbdeployerGiuseppe Maxia
Ā 
A quick tour of Mysql 8 roles
A quick tour of Mysql 8 rolesA quick tour of Mysql 8 roles
A quick tour of Mysql 8 rolesGiuseppe Maxia
Ā 
MySQL document_store
MySQL document_storeMySQL document_store
MySQL document_storeGiuseppe Maxia
Ā 
Replication skeptic
Replication skepticReplication skeptic
Replication skepticGiuseppe Maxia
Ā 
Synchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDBSynchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDBGiuseppe Maxia
Ā 
Juggle your data with Tungsten Replicator
Juggle your data with Tungsten ReplicatorJuggle your data with Tungsten Replicator
Juggle your data with Tungsten ReplicatorGiuseppe Maxia
Ā 
MySQL in your laptop
MySQL in your laptopMySQL in your laptop
MySQL in your laptopGiuseppe Maxia
Ā 
Tungsten Replicator tutorial
Tungsten Replicator tutorialTungsten Replicator tutorial
Tungsten Replicator tutorialGiuseppe Maxia
Ā 
Preventing multi master conflicts with tungsten
Preventing multi master conflicts with tungstenPreventing multi master conflicts with tungsten
Preventing multi master conflicts with tungstenGiuseppe Maxia
Ā 
MySQL high availability power and usability
MySQL high availability power and usabilityMySQL high availability power and usability
MySQL high availability power and usabilityGiuseppe Maxia
Ā 
Solving MySQL replication problems with Tungsten
Solving MySQL replication problems with TungstenSolving MySQL replication problems with Tungsten
Solving MySQL replication problems with TungstenGiuseppe Maxia
Ā 
State of the art of MySQL replication and clustering
State of the art of MySQL replication and clusteringState of the art of MySQL replication and clustering
State of the art of MySQL replication and clusteringGiuseppe Maxia
Ā 
Testing mysql creatively in a sandbox
Testing mysql creatively in a sandboxTesting mysql creatively in a sandbox
Testing mysql creatively in a sandboxGiuseppe Maxia
Ā 
Mysql 5.5 and 5.6 replication
Mysql 5.5 and 5.6 replicationMysql 5.5 and 5.6 replication
Mysql 5.5 and 5.6 replicationGiuseppe Maxia
Ā 

More from Giuseppe Maxia (20)

MySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployerMySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployer
Ā 
Test like a_boss
Test like a_bossTest like a_boss
Test like a_boss
Ā 
Dbdeployer, the universal installer
Dbdeployer, the universal installerDbdeployer, the universal installer
Dbdeployer, the universal installer
Ā 
Test complex database systems in your laptop with dbdeployer
Test complex database systems in your laptop with dbdeployerTest complex database systems in your laptop with dbdeployer
Test complex database systems in your laptop with dbdeployer
Ā 
Dbdeployer
DbdeployerDbdeployer
Dbdeployer
Ā 
Dbdeployer
DbdeployerDbdeployer
Dbdeployer
Ā 
A quick tour of Mysql 8 roles
A quick tour of Mysql 8 rolesA quick tour of Mysql 8 roles
A quick tour of Mysql 8 roles
Ā 
MySQL document_store
MySQL document_storeMySQL document_store
MySQL document_store
Ā 
Replication skeptic
Replication skepticReplication skeptic
Replication skeptic
Ā 
Synchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDBSynchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDB
Ā 
Juggle your data with Tungsten Replicator
Juggle your data with Tungsten ReplicatorJuggle your data with Tungsten Replicator
Juggle your data with Tungsten Replicator
Ā 
MySQL in your laptop
MySQL in your laptopMySQL in your laptop
MySQL in your laptop
Ā 
Script it
Script itScript it
Script it
Ā 
Tungsten Replicator tutorial
Tungsten Replicator tutorialTungsten Replicator tutorial
Tungsten Replicator tutorial
Ā 
Preventing multi master conflicts with tungsten
Preventing multi master conflicts with tungstenPreventing multi master conflicts with tungsten
Preventing multi master conflicts with tungsten
Ā 
MySQL high availability power and usability
MySQL high availability power and usabilityMySQL high availability power and usability
MySQL high availability power and usability
Ā 
Solving MySQL replication problems with Tungsten
Solving MySQL replication problems with TungstenSolving MySQL replication problems with Tungsten
Solving MySQL replication problems with Tungsten
Ā 
State of the art of MySQL replication and clustering
State of the art of MySQL replication and clusteringState of the art of MySQL replication and clustering
State of the art of MySQL replication and clustering
Ā 
Testing mysql creatively in a sandbox
Testing mysql creatively in a sandboxTesting mysql creatively in a sandbox
Testing mysql creatively in a sandbox
Ā 
Mysql 5.5 and 5.6 replication
Mysql 5.5 and 5.6 replicationMysql 5.5 and 5.6 replication
Mysql 5.5 and 5.6 replication
Ā 

Recently uploaded

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
Ā 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
Ā 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
Ā 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
Ā 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
Ā 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
Ā 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
Ā 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
Ā 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
Ā 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
Ā 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
Ā 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
Ā 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
Ā 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
Ā 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
Ā 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
Ā 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
Ā 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
Ā 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
Ā 

Recently uploaded (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
Ā 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
Ā 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Ā 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Ā 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Ā 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
Ā 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Ā 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
Ā 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Ā 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
Ā 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Ā 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Ā 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Ā 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
Ā 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
Ā 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
Ā 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
Ā 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
Ā 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Ā 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Ā 

Quick Introduction to Gearman

  • 1. Gearman: a technology for distributed computing Giuseppe Maxia MySQL Community Team Lead Sun Microsystems Wednesday, 07 October 2009 This is a quick talk that introduces technologies in the age of cloud computing
  • 2. about me -Giuseppe Maxia ļ‚§ a.k.a. The Data Charmer ļ‚§ MySQL Community Team Lead ļ‚§ Long time hacking with MySQL features ļ‚§ Formerly, database consultant, designer, coder. ļ‚§ A passion for QA ļ‚§ An even greater passion for open source ļ‚§ ... and community ļ‚§ Passionate blogger http://datacharmer.blogspot.com Wednesday, 07 October 2009
  • 3. Mainframe terminal Mainframe terminal operating system client terminal hardware application terminal 0 100 USER FRIENDLINESS Wednesday, 07 October 2009 We start with a big of history of computing. In the age of mainframes, users could only choose the whole system, or nothing. Hardware, operating system, and software came from the same company. The only priority was towards getting the job done with the minimal expenses. Users needs were negligible
  • 4. Mini computers Mainframe Mini terminal terminal operating system Mini client hardware terminal application terminal 0 100 USER FRIENDLINESS Wednesday, 07 October 2009 Minicomputers added some level of ļ¬‚exibility to the user's experience, although the information system was still (with little exceptions) a matter of choosing a company. The user experience improved a bit, but only for very power users.
  • 5. Networks server personal computer personal operating operating computer system system personal client hardware hardware computer hardware personal application 0 computer 100 USER FRIENDLINESS Wednesday, 07 October 2009 Networks made a giant leap towards a better user experience. Users were relatively free of choosing their hardware, possibly different operating systems, although there was still only one application for the main business. Yes, users could run their local applications (solitaire started being popular these days :-) ) but still the system was a bit stiff
  • 6. Web applications web server browser INTERNET browser operating operating operating system system systemoperating system client browser hardware hardware hardware application browser 0 100 USER FRIENDLINESS Wednesday, 07 October 2009 More ļ¬‚exibility came with the adoption of web infrastructures. The most important being freedom from close location. Web applications run quite well regardless of the location of the servers, thanks also to the availability of better hardware and bandwidth. Applications for the main business, though, remain stiff. Mainly, the business data is only accessible through one set of applications, written in one language, and often tied to a speciļ¬c operating system.
  • 7. service Cloud applications provider service provider service provider service browser provider web INTERNET server browser operating operating operating system system system client browser hardware hardware hardware application applicationapplication browser 0 100 USER FRIENDLINESS Wednesday, 07 October 2009 With cloud computing, the possibilities grow. Not only the clients are free of choosing hardware and operating systems, but they can also share and choose different applications that are available through providers, independently from the operating system and language used by the clients.
  • 8. Some actors ā€¢ memcached ā€¢ gearman Used in production by Facebook and Digg Wednesday, 07 October 2009 In this quick introduction, we will only mention a few popular systems that are used in popular web sites. Memcached is a distributed cache environment that helps scaling the performance of demanding web sites. Gearman is described in the next slides
  • 9. GEARMAN Wednesday, 07 October 2009 What is it? Pay attention to the spelling
  • 10. != G ER M A N Wednesday, 07 October 2009 Not "german"! It is not a language. It's a system, where a server accepts requests from clients, sends the requests to workers and dispatches the answers back.
  • 11. G E A R M A N? Wednesday, 07 October 2009 And what exactly is it? Think about it. It's an anagram. Do you know of somebody who doesn't do anything except telling the workers what to do and then getting a "thank you" from clients?
  • 12. MANAGER Wednesday, 07 October 2009 of course! it's a MANAGER.
  • 13. job task request server worker client http://gearman.org Wednesday, 07 October 2009 Anyway, in Gearman, there are several concepts. A worker will register with the server the list of tasks that it can perform. A client will request jobs from the server. The server gives tasks to the workers, collects the results, and passed them back to the clients.
  • 14. Distributed Wednesday, 07 October 2009 The beauty of Gearman is that everything can be on a different host.
  • 15. Multiple operating systems Wednesday, 07 October 2009 There is no difference if one of the actors is using one operating system rather than the same one used by the server. Actually, clients can get speciļ¬c advantage of this architecture, by requesting tasks that are not available in their operating system but can be easily performed in the OS of one of the workers.
  • 16. multiple languages Wednesday, 07 October 2009 Language, the greatest divider in the recent technology, is not an obstacle anymore. Clients can keep coding in the language they are most familiar with, and the workers will use libraries and classes that are only available to speciļ¬c languages, without need for the clients to be involved with the nitpicks of such complex systems.
  • 17. freedom of choice Wednesday, 07 October 2009 Clients can really use several languages, and request tasks that are performed remotely in any language.
  • 18. redundancy Wednesday, 07 October 2009 Gearman can be a robust system. It allows redundant servers for high availability. Each worker can register its tasks to several servers, and every client can request a job from more than one server.
  • 19. More on similar matters ā€¢ Italian Perl Workshop, Pisa, 22-Oct-2009 ā€¢ FOSS.MY, Kuala Lumpur, Malaysia, 25-Oct-2009 ā€¢ CodeBits, Lisbon, Portugal, 3-4-5-Dec-2009 http://datacharmer.blogspot.com http://gearman.org Wednesday, 07 October 2009