Summary
We have reached the end of this chapter. Here, we learned the most important messaging and integration patterns and the role they play in the design of distributed systems. We made our acquaintance with the three major types of message exchange patterns: publish/subscribe, pipelines, and request/reply, and we saw how they can be implemented using a peer-to-peer architecture or a message broker. We analyzed their pros and cons, and we saw that by using AMQP and a fully-fledged message broker, we can implement reliable and scalable applications with little developmental effort but at a cost of having one more system to maintain and scale. Also, we saw how ØMQ allows us to build distributed systems where we can have total control over every aspect of the architecture, fine tuning its properties around our very own requirements.
This chapter also closes the book; by now, we should have a tool belt full of patterns and techniques we can go and apply in our projects. We should also have...