E-book details

Instant Parallel Processing with Gearman. Learn how to use Gearman to build scalable distributed applications

Instant Parallel Processing with Gearman. Learn how to use Gearman to build scalable distributed applications

John Ewart

Ebook
Many of today's applications need to be able to process large volumes of data, and vertical scaling has its limits both in terms of prohibitive cost and hardware limits. Gearman is an open source job manager that is well-suited to building horizontally scalable systems, from map-reduce algorithms to simple data processors capable of handling massive amounts of information.

Instant Gearman is a practical, hands-on guide to getting started with building an open source job management server system that is built to grow. Learn the basics of building a distributed application that spans multiple components and learn how Gearman fits into building an application that scales from one to hundreds of components that interact to process data. With Gearman, you can build software that scales horizontally as your need for computation increases.

Instant Gearman has in-depth examples and a step-by-step approach to building distributed systems, helping you to build systems that are scalable and modular in their approach to processing data.

Once you are comfortable with building simple workers and clients, learn how to build a cluster of managers and see how to reduce single-point-of-failure in your architecture. Next, build a simple map-reduce application using Gearman and scale it up from a single instance to multiple parallel processing components.
  • Instant Parallel Processing with Gearman
    • Instant Parallel Processing with Gearman
    • Credits
    • About the Author
    • About the Reviewer
    • www.packtpub.com
      • Support files, eBooks, discount offers and more
    • packtlib.packtpub.com
      • Why Subscribe?
      • Free Access for Packt account holders
    • 1. Instant Parallel Processing with Gearman
      • So, what is Gearman?
        • Distinguishing features of Gearman
        • Overview of components
        • The conversation between the actors
          • Usecase image processing
      • Quick Start building your first components
        • Step 1 running a server
        • Step 2 downloading a client library
          • Your first client
          • Writing the client
            • Running your newly created client
            • Verifying that it was submitted
        • Step 3 our first worker
          • Running your newly created worker
        • Step 4 varying priorities
        • Step 5 background tasks
        • And thats it
      • Top 5 features you need to know about
        • Job handling
          • Completed versus successful
          • Unique identifiers and coalescing
          • The client
          • The worker
          • Making it work
        • Scaling your system
          • Running multiple managers
          • Writing a client that supports multiple managers
          • Submitting jobs to multiple managers
          • Handling a manager being terminated
          • Processing jobs from multiple managers
        • MapReduce
          • The shared library
          • A simple program
          • The client
          • The worker
          • Parallelizing the pipeline
          • Scaling this solution
          • Processing a large data file
        • Providing job updates
          • Data updates
            • The worker
            • The client
          • Status updates
            • The worker
            • The client
          • Building a processing pipeline
          • Using multiple languages
        • Persistence engines
          • Why is this important?
          • Persistent versus non-persistent
          • How safe is safe?
      • People and places you should get to know
        • Client libraries
        • Community
  • Title: Instant Parallel Processing with Gearman. Learn how to use Gearman to build scalable distributed applications
  • Author: John Ewart
  • Original title: Instant Parallel Processing with Gearman. Learn how to use Gearman to build scalable distributed applications
  • ISBN: 9781783284085, 9781783284085
  • Date of issue: 2013-07-26
  • Format: Ebook
  • Item ID: e_2wt5
  • Publisher: Packt Publishing