Node.js
9 views | +0 today
Follow
Your new post is loading...
Your new post is loading...
Rescooped by Reza Heidari from JavaScript for Line of Business Applications
Scoop.it!

Hardening node.js for production part 2: using nginx to avoid node.js load

Hardening node.js for production part 2: using nginx to avoid node.js load | Node.js | Scoop.it

This is part 2 of a quasi-series on hardening node.js for production systems. The previous articlecovered a process supervisor that creates multiple node.js processes, listening on different ports for load balancing. This article will focus on HTTP: how to lighten the incoming load on node.js processes.

Our stack consists of nginx serving external traffic by proxying to upstream node.js processes running express.js. As I’ll explain, nginx is used for almost everything: gzip encoding, static file serving, HTTP caching, SSL handling, load balancing and spoon feeding clients. The idea is use nginx to prevent unnecessary traffic from hitting our node.js processes. Furthermore, we remove as much overhead as possible for traffic that has to hit node.js.


Via Jan Hesse
more...
Scooped by Reza Heidari
Scoop.it!

The 10 Most Popular DB Engines (SQL and NoSQL) | Javalobby

The 10 Most Popular DB Engines (SQL and NoSQL) | Javalobby | Node.js | Scoop.it
How to objectively measure the popularity of a DB engine? Good question! And there’s an Austrian company (Solid IT)
who claims to have the answer. The...
Reza Heidari's insight:

testing

more...
No comment yet.