Free Sample
+ Collection
Code Files

Instant Parallel Processing with Gearman

John Ewart

Learn how to use Gearman to build scalable distributed applications
RRP $19.99

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783284078
Paperback58 pages

About This Book

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Build a cluster of managers, workers, and clients using Gearman to scale your application
  • Understand how to reduce single-points-of-failure in your distributed applications
  • Build clients and workers to process data in the background and provide real-time updates to your frontend

Who This Book Is For

This book targets developers who are interested in adding distributed data processing to their applications. The examples in this book are written using Ruby, but are documented thoroughly to allow developers comfortable with other languages to understand how to use them in a language of their choice. Intermediate programmers with no previous experience in distributed computing will also be able to easily follow the content.

Table of Contents

Chapter 1: Instant Parallel Processing with Gearman
So, what is Gearman?
Quick Start – building your first components
Top 5 features you need to know about
People and places you should get to know

What You Will Learn

  • Develop clients and workers to process data
  • Use Gearman to implement a map-reduce cluster
  • Take existing libraries and use them with Gearman
  • Learn how Gearman stores jobs and available persistence options
  • Build a cluster of managers, workers, and clients to scale your application
  • Discover ways to use Gearman to avoid single-point-of-failure in your system

In Detail

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.


Read More