售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
RabbitMQ Cookbook
Table of Contents
RabbitMQ Cookbook
Credits
About the Authors
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. Working with AMQP
Introduction
Connecting to the broker
Getting ready
How to do it…
How it works…
There's more…
Producing messages
Getting ready
How to do it…
How it works…
There's more…
How to check the RabbitMQ status
Checking whether a queue already exists
Consuming messages
Getting ready
How to do it…
How it works…
There's more…
More on consumer threads
Blocking semantics
See also
Using body serialization with JSON
Getting ready
How to do it…
How it works…
There's more…
Using RPC with messaging
Getting ready
How to do it…
How it works…
There's more…
Using blocking RPC
Scalability notes
Broadcasting messages
Getting ready
How to do it…
How it works…
There's more…
See also
Working with message routing using direct exchanges
Getting ready
How to do it…
How it works…
There's more…
Working with message routing using topic exchanges
Getting ready
How to do it…
How it works…
There's more…
Guaranteeing message processing
Getting ready
How to do it…
How it works…
There's more…
See also
Distributing messages to many consumers
Getting ready
How to do it…
How it works...
See also…
Using message properties
Getting ready
How to do it…
How it works…
There's more…
See also
Messaging with transactions
Getting ready
How to do it…
How it works…
There's more…
See also
Handling unroutable messages
Getting ready
How to do it…
How it works…
There's more…
2. Going beyond the AMQP Standard
Introduction
How to let messages expire
Getting ready
How to do it...
How it works...
See also
How to let messages expire on specific queues
Getting ready
How to do it...
How it works...
There's more...
See also
How to let queues expire
Getting ready
How to do it...
How it works...
Managing rejected or expired messages
Getting ready
How to do it...
How it works...
There's more...
Understanding the alternate exchange extension
Getting ready
How to do it...
How it works...
There's more...
Understanding the validated user-ID extension
Getting ready
How to do it...
How it works...
See also
Notifying the consumers of queue failures
Getting ready
How to do it...
How it works...
There's more...
See also
Understanding the exchange-to-exchange extension
Getting ready
How to do it...
How it works...
Embedding message destinations within messages
Getting ready
How to do it....
How it works...
There's more...
3. Managing RabbitMQ
Introduction
Using vhosts
Getting ready
How to do it…
How it works…
Configuring users
Getting ready
How to do it…
How it works…
There's more…
User tags for the management plugin
Using SSL
Getting ready
How to do it…
How it works…
There's more…
Implementing client-side certificates
Getting ready
How to do it…
How it works…
Managing RabbitMQ from a browser
Getting ready
How to do it…
How it works…
There's more…
See also
Configuring RabbitMQ parameters
How to do it…
How it works…
There's more…
Developing Python applications to monitor RabbitMQ
Getting ready
How to do it…
How it works…
There's more…
See also
Developing your own web applications to monitor RabbitMQ
Getting ready
How to do it…
How it works…
There's more…
See also
4. Mixing Different Technologies
Introduction
Using a .NET client
Getting ready
How to do it…
How it works…
There's more…
See also
Binding an app from iPhone to RabbitMQ via MQTT
Getting ready
How to do it…
How it works…
There's more…
See also
Using messaging to update Google Maps on Android
Getting ready
How to do it…
How it works…
There's more…
Publishing messages from Android in the background
Getting ready…
How to do it…
How it works…
There's more…
Exchanging RabbitMQ messages with Qpid
Getting ready
How to do it…
How it works…
There's more…
Exchanging RabbitMQ messages with Mosquitto
Getting ready
How to do it…
How it works…
There's more…
See also
Binding a WCF application with .Net clients
Getting ready
How to do it…
How it works…
There's more…
See also
5. Using RabbitMQ in Web Applications
Introduction
Developing web monitoring applications with Spring
Getting ready
How to do it…
How it works…
There's more…
Developing asynchronous web searches with Spring
Getting ready
How to do it…
How it works…
There's more…
See also
Developing web monitoring applications with STOMP
Getting ready
How to do it…
How it works…
6. Developing Scalable Applications
Introduction
Creating a localhost cluster
Getting ready
How to do it…
How it works…
There's more…
Creating a simple cluster
Getting ready
How to do it…
How it works…
There's more…
See also
Adding a RabbitMQ cluster automatically
Getting ready
How to do it…
How it works…
Introducing a load balancer to consumers
Getting ready
How to do it…
How it works…
There's more…
See also
Creating clients of the cluster
Getting ready
How to do it…
How it works…
There's more…
See also
7. Developing High-availability Applications
Introduction
Mirroring queues
Getting ready
How to do it…
How it works…
There's more…
See also
Synchronizing queues
Getting ready
How to do it…
How it works…
There's more…
See also
Optimizing mirror policies
Getting ready
How to do it…
How it works…
There's more…
See also
Distributing messages between a couple of brokers
Getting ready
How to do it…
How it works…
There's more…
Creating a geographical cluster replication
Getting ready
How to do it…
How it works…
There's more…
See also
Filtering and forwarding messages
Getting ready
How to do it…
How it works…
There's more…
See also
Combining high-availability technologies together
Getting ready
How to do it…
How it works…
There's more…
See also
Client high availability
Getting ready
How to do it…
How it works…
8. Performance Tuning for RabbitMQ
Introduction
Multithreading and queues
Getting ready
How to do it…
How it works…
There's more…
System tuning
Getting ready
How to do it…
How it works…
There's more…
Improving bandwidth
Getting ready
How to do it…
How it works…
Prefetch
NoAck
There's more…
See also
Using different distribution tools
Getting ready
How to do it…
How it works…
There's more…
See also
9. Extending RabbitMQ Functionality
Introduction
Enabling and configuring the STOMP plugin
Getting ready
How to do it…
How it works…
There's more…
See also
Managing a RabbitMQ cluster
Getting ready
How to do it…
How it works…
Monitoring Shovel status
Getting ready
How to do it…
How it works…
Developing new plugins – attaching to a relational database with ODBC
Getting ready
How to do it…
How it works…
There's more…
10. RabbitMQ on AWS
Introduction
Using RabbitMQ EC2 instances
Getting ready
How to do it…
How it works…
There's more…
See also
Creating a master image
Getting ready
How to do it…
How it works…
See also
Creating a cluster with two EC2 instances
Getting ready
How to do it…
How it works…
There's more…
See also
Using AWS Load Balancing in front of a RabbitMQ cluster
Getting ready
How to do it…
How it works…
There's more…
See also
Configuring EC2 dynamic bind
Getting ready
How to do it…
How it works…
There's more…
See also
Dealing with load spikes and resource optimization in the cloud
Getting ready
How to do it…
How it works…
There's more…
See also
11. AMQP and Cloud Computing – RabbitMQ on PaaS
Introduction
RabbitMQ on CloudAMQP
Getting ready
How to do it...
How it works...
There's more...
First application on Cloud Foundry
Getting ready
How to do it...
How it works...
There's more...
Using RabbitMQ on Cloud Foundry
Getting ready
How to do it...
How it works...
There's more...
12. Managing RabbitMQ Error Conditions
Introduction
Monitoring RabbitMQ's behavior
Getting ready
How to do it...
How it works...
There's more...
Using RabbitMQ to troubleshoot itself
Getting ready
How to do it...
How it works...
There's more...
Tracing RabbitMQ's ongoing activity
Getting ready
How to do it...
How it works...
Debugging RabbitMQ's messages
Getting ready
How to do it...
How it works...
There's more...
See also
What to do when RabbitMQ fails to restart
Getting ready
How to do it...
How it works...
There's more...
See also
Debugging using Wireshark
Getting ready
How to do it...
How it works...
There's more…
See also
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜