June 2014
Intermediate to advanced
696 pages
38h 52m
English
The cluster module lets you easily implement a cluster of TCP or HTTP servers running in different processes on the same machine but still using the same underlying socket, thus handling requests on the same IP address and port combination. The cluster module is simple to implement and provides several events, methods, and properties you can use to initiate and monitor a cluster of Node.js servers.
Table 9.10 lists the events that can be emitted in a cluster module application.
Table 9.10 Events that can be emitted by the cluster module
Table 9.11 lists the methods and properties you can use in the cluster module to get ...
Read now
Unlock full access