Wrapping Up
This chapter brought us out of the Node.js core and into the larger world of npm. We discussed how to install and use third-party modules with binary components. In particular, we covered how to use ÃMQ.
ÃMQ supports a number of message-passing patterns; we got to know several of them. We saw how ÃMQ does the publish/subscribe pattern, the request/reply pattern, and the PUSH/PULL pattern. These patterns are now tools at your disposal for designing networked applications in Node.js, even if you choose not to use the ÃMQ library itself.
We also explored Nodeâs clustering capabilities. Using features of Nodeâs cluster module, we spun up a number of worker processes and distributed requests to them. Weâll use these capabilities ...
Get Node.js the Right Way 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.