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 ...

Get Node.js Design Patterns - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.