Instant Parallel processing with Gearman
暫譯: 即時使用 Gearman 進行平行處理

John Ewart

  • 出版商: Packt Publishing
  • 出版日期: 2013-08-04
  • 售價: $1,360
  • 貴賓價: 9.5$1,292
  • 語言: 英文
  • 頁數: 58
  • 裝訂: Paperback
  • ISBN: 1783284072
  • ISBN-13: 9781783284078
  • 海外代購書籍(需單獨結帳)

商品描述

Learn how to use Gearman to build scalable distributed applications

Overview

  • 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

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.

What you will learn from this book

  • 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

Approach

Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. This is a quick tutorial allowing you to quickly increase the efficiency of your system by intelligently reducing its workload where possible and learn techniques for designing your solutions to take advantage of Gearman’s architecture.

The technology covered in this book is usable by almost any modern programming language and any type of application, be it web, desktop, or mobile applications.

Who this book is written 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.

商品描述(中文翻譯)

學習如何使用 Gearman 建立可擴展的分散式應用程式

概述
- 立即學習新知!一本短小、快速、專注的指南,提供即時結果
- 使用 Gearman 建立管理者、工作者和客戶端的叢集,以擴展您的應用程式
- 了解如何減少分散式應用程式中的單點故障
- 建立客戶端和工作者在背景中處理資料,並為前端提供即時更新

詳細內容
當今許多應用程式需要能夠處理大量資料,而垂直擴展在成本和硬體限制方面都有其極限。Gearman 是一個開源的工作管理器,非常適合構建水平可擴展的系統,從 map-reduce 演算法到能夠處理大量資訊的簡單資料處理器。

《Instant Gearman》是一本實用的、動手操作的指南,幫助您開始建立一個可擴展的開源工作管理伺服器系統。學習如何構建跨多個組件的分散式應用程式的基本知識,並了解 Gearman 如何融入構建一個從一個組件擴展到數百個組件的應用程式,這些組件相互作用以處理資料。使用 Gearman,您可以構建隨著計算需求增加而水平擴展的軟體。

《Instant Gearman》提供深入的範例和逐步的方法來構建分散式系統,幫助您建立可擴展且模組化的資料處理系統。

一旦您熟悉了簡單的工作者和客戶端的構建,學習如何建立管理者的叢集,並了解如何減少架構中的單點故障。接下來,使用 Gearman 建立一個簡單的 map-reduce 應用程式,並將其從單一實例擴展到多個平行處理組件。

您將從本書中學到的內容
- 開發客戶端和工作者以處理資料
- 使用 Gearman 實現 map-reduce 叢集
- 使用現有的函式庫並與 Gearman 一起使用
- 了解 Gearman 如何儲存工作和可用的持久性選項
- 建立管理者、工作者和客戶端的叢集以擴展您的應用程式
- 探索使用 Gearman 避免系統中的單點故障的方法

方法
掌握一項新技術,了解它是什麼以及它能為您做什麼,然後開始使用最重要的功能和任務。這是一個快速的教程,讓您能夠通過智能地減少系統的工作負載來迅速提高效率,並學習設計解決方案的技術,以利用 Gearman 的架構。

本書涵蓋的技術幾乎可以被任何現代程式語言和任何類型的應用程式使用,無論是網頁、桌面還是行動應用程式。

本書的讀者對象
本書針對有興趣將分散式資料處理添加到其應用程式中的開發人員。書中的範例使用 Ruby 編寫,但有詳細的文檔,讓熟悉其他語言的開發人員能夠理解如何在他們選擇的語言中使用它們。對於沒有分散式計算經驗的中級程式設計師來說,也能輕鬆跟隨內容。