万本电子书0元读

万本电子书0元读

顶部广告

Learning RabbitMQ电子书

售       价:¥

11人正在读 | 0人评论 9.8

作       者:Martin Toshev

出  版  社:Packt Publishing

出版时间:2015-12-28

字       数:228.9万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Build and optimize efficient messaging applications with ease About This Book Learn to administer, configure, and manage RabbitMQ instances Discover ways to secure and troubleshoot RabbitMQ instances This book is fully up-to-date with all the latest changes to version 3.5 Who This Book Is For If you are a developer or system administrator with a basic knowledge of messaging who wants to learn RabbitMQ, or if you want to further enhance your knowledge in working with the message broker, then this book is ideal for you. To fully understand some examples in the book, a basic knowledge of the Java programming language is required. What You Will Learn Apply messaging patterns using the message broker Administer RabbitMQ using the command line, management Web console, or management REST services Create a cluster of scalable, and highly-available, RabbitMQ instances Use RabbitMQ with the Spring Framework, MuleESB, WSO2, and Oracle databases Deploy RabbitMQ using Puppet, Vagrant, or Docker Fine-tune the performance of RabbitMQ Monitor RabbitMQ using Nagios, Munin, or Monit Secure, troubleshoot, and extend RabbitMQ In Detail RabbitMQ is Open Source Message Queuing software based on the Advanced Message Queue Protocol Standard written in the Erlang Language. RabbitMQ is an ideal candidate for large-scale projects ranging from e-commerce and finance to Big Data and social networking because of its ease of use and high performance. Managing RabbitMQ in such a dynamic environment can be a challenging task that requires a good understanding not only of how to work properly with the message broker but also of its best practices and pitfalls. Learning RabbitMQ starts with a concise de*ion of messaging solutions and patterns, then moves on to concrete practical scenarios for publishing and subscribing to the broker along with basic administration. This knowledge is further expanded by exploring how to establish clustering and high availability at the level of the message broker and how to integrate RabbitMQ with a number of technologies such as Spring, and enterprise service bus solutions such as MuleESB and WSO2. We will look at advanced topics such as performance tuning, secure messaging, and the internals of RabbitMQ. Finally we will work through case-studies so that we can see RabbitMQ in action and, if something goes wrong, we'll learn to resolve it in the Troubleshooting section. Style and approach Each chapter of the book is an easy-to-follow guide that expands and builds on the knowledge already gained in previous chapters. Throughout the course of the book, a sample system called the CSN (Corporate Social Network) is used to illustrate the core principles described. At the end of each chapter, there is a Q&A session that covers practical questions that may arise in practice when working with RabbitMQ.
目录展开

Learning RabbitMQ

Table of Contents

Learning RabbitMQ

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Introducing RabbitMQ

Enterprise messaging

Use cases

Solutions

Patterns

Point-to-point

Publish-subscribe

Request-response

Understanding RabbitMQ

Features

Comparison with other technologies

Installation

Linux

Case study: CSN (Corporate Social Network)

Summary

Exercises

2. Design Patterns with RabbitMQ

Messaging patterns in RabbitMQ

Point-to-point communication

Publish-subscribe communication

Request-reply communication

Message router

Case study: Initial design of the CSN

Summary

Exercises

3. Administration, Configuration, and Management

Administering RabbitMQ instances

Administering RabbitMQ components

Administering users

Administering vhosts

Administering permissions

Administering exchanges

Administering queues

Administering bindings

Administering policies

Administering the RabbitMQ database

Full backup and restore

Backing up and restoring the broker metadata

Installing RabbitMQ plugins

Configuring RabbitMQ instances

Setting environment variables

Modifying the RabbitMQ configuration file

Managing RabbitMQ instances

Upgrading RabbitMQ

Case study: Administering CSN

Summary

Exercises

4. Clustering

Benefits of clustering

RabbitMQ clustering support

Creating a simple cluster

Adding nodes to the cluster

Adding RAM-only nodes to the cluster

Removing nodes from a cluster

Connecting to the cluster

Case study: scaling the CSN

Summary

Exercises

5. High Availability

Benefits of high availability

High availability support in RabbitMQ

Mirrored queues

Federation plugin

Shovel plugin

Reliable delivery

AMQP transactions

Publisher confirms

Client high availability

Client reconnections

Load balancing

Case study: introducing high availability in CSN

Summary

Exercises

6. Integrations

Types of integrations

Spring framework

Spring AMQP

Spring Integration

Integration with ESBs

Mule ESB

WSO2

Integration with databases

Oracle RDBMS

MongoDB

Hadoop

RabbitMQ integrations

RabbitMQ deployment options

Puppet

Docker

Vagrant

Testing RabbitMQ applications

Unit testing of RabbitMQ applications

Integration testing of RabbitMQ applications

Case study: Integrating CSN with external systems

Summary

Exercises

7. Performance Tuning and Monitoring

Performance tuning of RabbitMQ instances

Memory usage

Faster runtime execution

Message size

The maximum frame size of messages

The maximum number of channels

Connection heartbeats

Clustering and high availability

QoS prefetching

Message persistence

Mnesia transaction logs

Acknowledgements, transactions and publisher confirms

Message routing

Queue creation/deletion

Queue message TTL

Alarms

Network tuning

Client tuning

Performance testing

Monitoring of RabbitMQ instances

The management UI

Nagios

Monit

Munin

Comparing RabbitMQ with other message brokers

Case Study : Performance tuning and monitoring of RabbitMQ instances in CSN

Summary

Exercises

8. Troubleshooting

General troubleshooting approach

Checking the status of a particular node

Inspecting the RabbitMQ logs

The RabbitMQ mailing list and IRC channel

Erlang troubleshooting

An Erlang Primer

The Erlang crash dump

Problems with starting/stopping RabbitMQ nodes

Problems with message delivery

Summary

Exercises

9. Security

Types of threats

Authentication

Configuring the LDAP backend

Security considerations

Authorization

LDAP authentication

Secure communication

Secure communication with the management interface

Secure cluster communication

EXTERNAL SSL authentication

Penetration testing

Case study – securing CSN

Summary

Exercises

10. Internals

High level architecture of RabbitMQ

Overview of RabbitMQ components

Boot component

Plug-in loader component

Recovery component

Persistence component

Metadata persistence

Message persistence component

Networking component

Other components

Developing plug-ins for RabbitMQ

Case Study: Developing a RabbitMQ plugin for CSN

Summary

Exercises

A. Contributing to RabbitMQ

RabbitMQ community

RabbitMQ repositories

Getting the sources

Building the RabbitMQ server

Points for contribution

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部