From f0d023211c0b63cce1966f900b53606606a3f35a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Za=C5=82=C4=99cki?= Date: Thu, 15 Feb 2018 08:33:56 +0100 Subject: [PATCH 1/2] Provide a URL to the StrongLoop blogpost --- sections/production/utilizecpu.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sections/production/utilizecpu.md b/sections/production/utilizecpu.md index e53e7d08..a36fe10e 100644 --- a/sections/production/utilizecpu.md +++ b/sections/production/utilizecpu.md @@ -20,8 +20,8 @@ It might not come as a surprise that at its basic form, Node runs over a single * From the [Node.JS documentation](https://nodejs.org/api/cluster.html#cluster_how_it_works): > ... The second approach, Node clusters, should, in theory, give the best performance. In practice however, distribution tends to be very unbalanced due to operating system scheduler vagaries. Loads have been observed where over 70% of all connections ended up in just two processes, out of a total of eight ... -* From the blog [StrongLoop](From the blog StrongLoop): +* From the blog [StrongLoop](https://strongloop.com/strongblog/best-practices-for-express-in-production-part-two-performance-and-reliability/): > ... Clustering is made possible with Node’s cluster module. This enables a master process to spawn worker processes and distribute incoming connections among the workers. However, rather than using this module directly, it’s far better to use one of the many tools out there that does it for you automatically; for example node-pm or cluster-service ... * From the Medium post [Node.js process load balance performance: comparing cluster module, iptables and Nginx](https://medium.com/@fermads/node-js-process-load-balancing-comparing-cluster-iptables-and-nginx-6746aaf38272) -> ... Node cluster is simple to implement and configure, things are kept inside Node’s realm without depending on other software. Just remember your master process will work almost as much as your worker processes and with a little less request rate then the other solutions ... \ No newline at end of file +> ... Node cluster is simple to implement and configure, things are kept inside Node’s realm without depending on other software. Just remember your master process will work almost as much as your worker processes and with a little less request rate then the other solutions ... From 60064e6b5c9e52db0682c7dbe3728e66466d064b Mon Sep 17 00:00:00 2001 From: Michal Zalecki Date: Thu, 15 Feb 2018 13:08:28 +0100 Subject: [PATCH 2/2] Add an entry to Thank You Notes section --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e69bcda3..f6c93b55 100644 --- a/README.md +++ b/README.md @@ -720,7 +720,8 @@ This repository is being kept up to date thanks to the help from the community. 🌻 [Aaron Arney](https://github.com/ocularrhythm), 🌻 [Jan Charles Maghirang Adona](https://github.com/septa97), 🌻 [Allen Fang](https://github.com/AllenFang), -🌻 [Leonardo Villela](https://github.com/leonardovillela) +🌻 [Leonardo Villela](https://github.com/leonardovillela), +🌻 [Michal Zalecki](https://github.com/MichalZalecki)