Skip to content

Commit f9cde12

Browse files
committed
Update README.md
1 parent c681201 commit f9cde12

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,6 +1389,10 @@ The cluster module provides a way of creating child processes that runs simultan
13891389

13901390
Node.js runs single threaded programming, which is very memory efficient, but to take advantage of computers multi-core systems, the Cluster module allows you to easily create child processes that each runs on their own single thread, to handle the load.
13911391

1392+
<p align="center">
1393+
<img src="assets/nodejs_cluster.png" alt="Load Balancer" width="400px" />
1394+
</p>
1395+
13921396
**Example:**
13931397

13941398
```js
@@ -1569,9 +1573,7 @@ A load balancer is a process that takes in HTTP requests and forwards these HTTP
15691573

15701574
NodeJS has a built-in module called Cluster Module to take the advantage of a multi-core system. Using this module you can launch NodeJS instances to each core of your system. Master process listening on a port to accept client requests and distribute across the worker using some intelligent fashion. So, using this module you can utilize the working ability of your system.
15711575

1572-
<p align="center">
1573-
<img src="assets/nodejs_cluster.png" alt="Load Balancer" width="400px" />
1574-
</p>
1576+
15751577

15761578
<div align="right">
15771579
<b><a href="#table-of-contents">↥ back to top</a></b>

0 commit comments

Comments
 (0)