Instant RabbitMQ Messaging Application Development How-to (Anglais) Broché – 21 mai 2013
Description du produit
Présentation de l'éditeur
Build scalable message-based applications with RabbitMQ
- Learn something new in an Instant! A short, fast, focused guide delivering immediate results
- Learn how to build message-based applications with RabbitMQ using a practical Node.js ecommerce example
- Implement various messaging patterns including asynchronous work queues, publish subscribe and topics.
- Lean how to successfully configure RabbitMQ and understand how this impacts performance.
RabbitMQ is an open source message-broker that implements the Advanced Message Queuing Protocol (AMQP) standard. This book will enable you to take advantage of RabbitMQ to create scalable, message-based applications.
In "Instant RabbitMQ Messaging Application Development How-to" you start by understanding the reasons for using an AMQP message broker; you will then implement a simple messaging application.
You will then be guided through the process of decoupling an existing highly-coupled e-commerce application using messaging patterns and look at RabbitMQ options for reliable message delivery. Youll finish your journey by exploring more advanced routing patterns. This book takes a highly practical approach we will offer numerous hints and tips for successful application development along the way.
What you will learn from this book
- Understand best practices for RabbitMQ application development
- Distribute time consuming tasks with work queues
- Decouple your application with the publish subscribe pattern
- Explore complex routing techniques
- Reliable message delivery with acknowledgements, persistence and publisher confirms
Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. Written in a practical, concise style, this book is complete with hands-on examples and the right amount of theory to get you started developing messaging applications with RabbitMQ.
Who this book is written for
Biographie de l'auteur
Andrew Keig has been building web applications for over 12 years. Andrew has a degree in Computing and blogs at blog.airasoul.net on topics he is passionate about, such as Node.js, REST, Web APIs, and Behavior-driven development. He also contributes to various Node.js open source projects. Andrew is a director at Airasoul, which specializes in the design and build of scalable, RESTful, specification-driven, and real-time web-based applications on the Node.js stack. His recent contracts include Starcount, ITV, Disney, Haymarket, and Live Nation to name a few.
Aucun appareil Kindle n'est requis. Téléchargez l'une des applis Kindle gratuites et commencez à lire les livres Kindle sur votre smartphone, tablette ou ordinateur.
Pour obtenir l'appli gratuite, saisissez votre numéro de téléphone mobile.
Détails sur le produit
Si vous vendez ce produit, souhaitez-vous suggérer des mises à jour par l'intermédiaire du support vendeur ?
|5 étoiles (0%)|
|4 étoiles (0%)|
|3 étoiles (0%)|
|2 étoiles (0%)|
|1 étoile (0%)|
Commentaires client les plus utiles sur Amazon.com
If you want a brief overview and a brief narrative of the first 5 examples on the rabbitmq website, then this book might be for you. However, in my opinion there is not nearly enough content in this book to warrant the $10 I spent. Knowing what I know about this book now, I'd have a hard time paying more than $2-3.
I think that the sub-title of the book "Build scalable message-based applications with RabbitMQ" should mention that this is "with RabbitMQ and Node.js".
This is a short book, part of PacktPubs "INSTANT" series, "Short Fast Focused" as they say on the book. It's about 40 pages long.
I like this book because without any knowledge either of RabbitMQ or Node.js I found the examples to be easy to follow and the code easy to read. All the example code is available from PacktPub's web site - if you've registered the book - or from github.
The first section describes the explains why RabbitMQ exists abstracting away the problems of scalability, reponsiveness, availability etc allowing you to get on with your application able to take the low-level messaging for granted followed by how to install RabbitMQ and the amqp module needed for Node.js.
The body of the book is a series of exercises starting with a simple "Hello World" exchange between a Producer and a Consumer, gradually becoming more complicated with examples of Work Queues, Persistent Messages, Acknowledgements, Publisher Confirms, Publish Subscrube and Complex Routing. These examples are incremental developments all part of an online store application.
The incremental nature really helps to follow the examples.
The complex routing example explains how to decouple the application further routing different types of messages to multiple queues.
The final section "Go Forth and Multiply" (rabbits again!) talks about more advanced issues which are not covered in detail here, but links are provided to relevant information on Clustering and Mirroring, Error handling and Recovery, AMQP connections (being resource limited), Heartbeats, Reconnects etc. These are real world issues for serious deployments that are acknowledged if not treated in detail.
This section finishes with a list of useful Architecture and Performance hints.
The book starts with "What can RabbitMQ do for you?", moves on to installation, and then runs through an example usage of an e-commerce shop, adding in more complexity through various examples.
All the code is written in Node.js; if you don't already know this, you may find getting your head round the event-driven model used by Node.js to be a distraction from learning about RabbitMQ.
The installation section talks through setting up both RabbitMQ and the Node.js systems; also mentions the RabbitMQ CLI and web UI tools.
The examples run through the usages of all the various AMQP concepts of brokers, exchanges, queues and bindings. These concepts are the most complicated aspect of programming RabbitMQ in your system; I'd have appreciated more detail about when and why you would choose one kind of exchange over another; why you would use one kind of binding. But I appreciate that within the space constraints of the book, this may not have been possible.
The author finishes with an interesting last chapter "Go Forth and Multiply" of further topics for consideration, including a useful last section on architecture and performance choices.
In summary, I thought the book was good value for its price. I would read more by this author, and I would especially be interested in a larger or followup book containing more detail on the "why" part of using RabbitMQ, rather than the "how"; I think he would have a lot of useful material to share.
- A concise run-through setting up and designing for a reliable, distributed system which used the RabbitMQ messaging system
- As an existing RabbitMQ developer, I found it interesting and I learnt from it
- It's well written
- Good value
- The title is a bit of a mouthful, especially for a book in the "Instant" series ("Short, Fast, Focussed").
- The book description should mention its reliance on Node.js for all code examples
- More detail needed on AMQP principles: exchanges, bindings, queues. When to choose which sort?