January 2018
Intermediate to advanced
336 pages
7h 22m
English
Any network is more than the sum of its parts—it’s the sum of its parts and all of the interactions between parts.
This chapter focuses on those interactions. Specifically, you’ll learn different ways that Node.js microservices communicate.
Connecting these services will expose you to the following aspects of Node.js development:
Node.js is single-threaded, but you can still take advantage of multiple cores or processors by running more processes. In this chapter, you’ll use Node.js’s cluster module to create and manage a pool of Node.js workers.
Microservice endpoints can have many roles and communicate in many ways. We’ll explore powerful messaging patterns like publish/subscribe, ...
Read now
Unlock full access