Gearman To Distribute Server Load

  • 242 views
Uploaded on

Gearman provides a distributed application framework for work with multiple machines or processes. Gearman can help us out easily by load balancing, architecture based workload distribution, scaling, …

Gearman provides a distributed application framework for work with multiple machines or processes. Gearman can help us out easily by load balancing, architecture based workload distribution, scaling, parallel processes and many more. The framework can be used in a variety of applications. People from almost all technologies can can the advantage from the usage of Gearman.

More in: Software , Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
242
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. An application framework to distribute work Presenter: Biswajit Maji, Mindfire Solutions Date: 1/04/2014
  • 2. Presenter: Biswajit Maji, Mindfire Solutions OCP – Oracle certified professional developer About Me Skills : Mysql, php, jQuery, html, VCS(svn, git), Webservices, Linux Connect Me: Facebook: https://www.facebook.com/biswajitmaji.tech LinkedIn: http://www.linkedin.com/profile/view?id=133902574 Google+: https://plus.google.com/105085556902166170611/ Contact Me: Email: biswajitm@mindfiresolutions.com / biswajitmaji.tech@gmail.com Skype: mfsi_biswajitm
  • 3. Presenter: Biswajit Maji, Mindfire Solutions AGENDA • Why Gearman • What is Gearman • Terminology • How Gearman works • Available APIs • Advantages
  • 4. Presenter: Biswajit Maji, Mindfire Solutions Why GEARMAN
  • 5. Presenter: Biswajit Maji, Mindfire Solutions What is Gearman Open source application framework To distribute appropriate computer tasks to multiple computers So large tasks can be done more quickly In some cases, load balancing rather than raw speed may be the main goal A Web server, can use Gearman to send tasks to another computer which is optimized to do that particular task (may be running on a different architecture, using another operating system, or loaded with a different computer language better suited to a particular operation). It is an application framework to distribute work
  • 6. Presenter: Biswajit Maji, Mindfire Solutions Terminology Create jobs to be run and send them to a Gearman server Register with a Gearman server and grab jobs to run Coordinates assignment from clients to workers, handles restarts Client Worker Gearman Server
  • 7. Presenter: Biswajit Maji, Mindfire Solutions Gearman Working Structure
  • 8. Presenter: Biswajit Maji, Mindfire Solutions Gearman Work Flow
  • 9. Presenter: Biswajit Maji, Mindfire Solutions How Gearman works
  • 10. Presenter: Biswajit Maji, Mindfire Solutions Available Client and Worker Libraries .NET C Django Drizzle Java JMS Lisp MySQL Node.js Perl PHP Postgre SQL Python Ruby Twisted ...
  • 11. Presenter: Biswajit Maji, Mindfire Solutions Advantages Speed up work Load balance since the job server only sends new jobs to idle workers Parallel and asynchronous work Scales well Architecture-based workload distributing Fault tolerance using multiple server. Can be used as an interface between a client and a worker written in different languages.
  • 12. Presenter: Biswajit Maji, Mindfire Solutions References http://gearman.org/ http://blog.zitec.com/2011/parallel-processing-with-php-and-gearman/ http://www.phpclasses.org/blog/post/108-Distributing-PHP-processing-with-G http://www.cirello.org/2012/05/scalable-architecture-with-gearman-job-server/
  • 13. Presenter: Biswajit Maji, Mindfire Solutions Question and Answer
  • 14. Presenter: Biswajit Maji, Mindfire Solutions Thank you
  • 15. www.mindfiresolutions.com https://www.facebook.com/MindfireSolutions http://www.linkedin.com/company/mindfire-solutions http://twitter.com/mindfires