RabbitMQ Cookbook (Paperback)

Sigismondo Boschi, Gabriele Santomaggio

  • 出版商: Packt Publishing
  • 出版日期: 2013-12-27
  • 定價: $1,645
  • 售價: 8.0$1,316
  • 語言: 英文
  • 頁數: 288
  • 裝訂: Paperback
  • ISBN: 1849516502
  • ISBN-13: 9781849516501
  • 相關分類: Message Queue
  • 立即出貨 (庫存=1)

商品描述

Over 70 practical recipes to help you develop messaging applications using RabbitMQ with the help of plenty of real-life examples

Overview

  • Create scalable distributed applications with RabbitMQ
  • Exploit RabbitMQ on both Web and mobile platforms
  • Deploy message services on cloud computing platforms
  • Full of screenshots and descriptions with clear, step-by-step instructions and practical examples

In Detail

RabbitMQ is an open source message broker software (sometimes called message-oriented middleware) that implements the Advanced Message Queuing Protocol (AMQP). The RabbitMQ server is written in the Erlang programming language and is built on the Open Telecom Platform framework for clustering and failover. Messaging enables software applications to connect and scale. Applications can connect to each other as components of a larger application or to user devices and data.

RabbitMQ Cookbook touches on all the aspects of RabbitMQ messaging. You will learn how to use this enabling technology for the solution of highly scalable problems dictated by the dynamic requirements of Web and mobile architectures, based for example on cloud computing platforms. This is a practical guide with several examples that will help you to understand the usefulness and the power of RabbitMQ.

This book helps you learn the basic functionalities of RabbitMQ with simple examples which describe the use of RabbitMQ client APIs and how a RabbitMQ server works. You will find examples of RabbitMQ deployed in real-life use-cases, where its functionalities will be exploited combined with other technologies. This book helps you understand the advanced features of RabbitMQ that are useful for even the most demanding programmer. Over the course of the book, you will learn about the usage of basic AMQP functionalities and use RabbitMQ to let decoupled applications exchange messages as per enterprise integration applications. The same building blocks are used to implement the architecture of highly scalable applications like today's social networks, and they are presented in the book with some examples. You will also learn how to extend RabbitMQ functionalities by implementing Erlang plugins.

This book combines information with detailed examples coupled with screenshots and diagrams to help you create a messaging application with ease.

What you will learn from this book

  • Produce and consume AQMP messages using the fire-and-forget messaging model
  • Optimize messaging applications using RabbitMQ extensions
  • Learn how to configure RabbitMQ parameters, enable RabbitMQ plugins, and monitor RabbitMQ activities
  • Integrate with other protocols such as MQTT, STOMP, and JSON
  • Develop Web applications with RabbitMQ as a service bus
  • Create a scalable and robust application using RabbitMQ clustering
  • Create a highly available RabbitMQ cluster using RabbitMQ HA policies
  • Create a geographic RabbitMQ cluster using the federation and shovel plugins
  • Create and auto-scale a RabbitMQ cluster on Amazon Web Services
  • Deploy and use RabbitMQ on Cloud-Foundry
  • Create custom RabbitMQ plugins in Erlang

Approach

A practical book filled with advanced recipes as well as plenty of code and real-life examples which will make your learning curve quick and easy.

商品描述(中文翻譯)

超過70個實用的食譜,幫助您使用RabbitMQ開發消息應用程序,並提供大量的實際示例。

概述:
- 使用RabbitMQ創建可擴展的分佈式應用程序
- 在Web和移動平台上利用RabbitMQ
- 在雲計算平台上部署消息服務
- 充滿屏幕截圖和描述,提供清晰的逐步指南和實用示例

詳細內容:
RabbitMQ是一個開源的消息代理軟件(有時稱為消息導向中間件),實現了高級消息隊列協議(AMQP)。RabbitMQ服務器使用Erlang編程語言編寫,並建立在用於集群和故障轉移的Open Telecom平台框架上。消息使軟件應用程序能夠連接和擴展。應用程序可以作為更大應用程序的組件相互連接,也可以連接到用戶設備和數據。

RabbitMQ Cookbook涵蓋了RabbitMQ消息的所有方面。您將學習如何使用這種使能技術解決由Web和移動架構的動態需求所驅動的高度可擴展的問題,例如基於雲計算平台。這是一本實用指南,提供了多個示例,幫助您了解RabbitMQ的用途和威力。

本書通過簡單的示例幫助您學習RabbitMQ的基本功能,描述了RabbitMQ客戶端API的使用方式以及RabbitMQ服務器的工作原理。您將找到RabbitMQ在實際用例中的部署示例,其中將結合其他技術來利用其功能。本書還幫助您了解RabbitMQ的高級功能,這對於最苛刻的程序員也很有用。在本書的過程中,您將了解基本AMQP功能的使用方式,並使用RabbitMQ讓解耦的應用程序按照企業集成應用程序的要求交換消息。這些相同的構建塊用於實現像當今社交網絡這樣的高度可擴展應用程序的架構,並在本書中提供了一些示例。您還將學習如何通過實現Erlang插件來擴展RabbitMQ功能。

本書結合了詳細的信息、示例代碼以及屏幕截圖和圖表,幫助您輕鬆創建消息應用程序。

從本書中您將學到:
- 使用fire-and-forget消息模型生成和消費AQMP消息
- 使用RabbitMQ擴展優化消息應用程序
- 學習如何配置RabbitMQ參數、啟用RabbitMQ插件和監控RabbitMQ活動
- 與其他協議(如MQTT、STOMP和JSON)集成
- 使用RabbitMQ作為服務總線開發Web應用程序
- 使用RabbitMQ集群創建可擴展和強大的應用程序
- 使用RabbitMQ HA策略創建高可用的RabbitMQ集群
- 使用聯邦和鏟子插件創建地理位置RabbitMQ集群
- 在Amazon Web Services上創建和自動擴展RabbitMQ集群
- 在Cloud-Foundry上部署和使用RabbitMQ
- 使用Erlang創建自定義的RabbitMQ插件

這是一本實用的書,充滿了高級食譜,以及大量的代碼和實際示例,可以讓您的學習曲線迅速而輕鬆。