Tagged articles

Node.js

1154 articles · Page 12 of 12
21CTO
21CTO
Apr 4, 2016 · Backend Development

10 Proven Techniques to Supercharge Your Node.js Web Apps

This guide outlines ten practical strategies—including parallel execution, async APIs, caching, gzip compression, client‑side rendering, lean sessions, query tuning, native V8 methods, Nginx front‑end, and JavaScript bundling—to dramatically boost the performance of Node.js web applications.

ExpressNode.jsasync
0 likes · 9 min read
10 Proven Techniques to Supercharge Your Node.js Web Apps
Node Underground
Node Underground
Mar 25, 2016 · Backend Development

How to Implement Bigpipe with HTTP Chunked Transfer in Node.js, PHP, and Java

This article explores the Bigpipe technique for accelerating first‑screen rendering by leveraging HTTP 1.1 chunked transfer, comparing implementations in PHP, Java, Node.js (including Express and Koa), and demonstrating parallel module flushing with async patterns such as callbacks, async parallel, co, and async/await.

BigpipeHTTP ChunkedNode.js
0 likes · 17 min read
How to Implement Bigpipe with HTTP Chunked Transfer in Node.js, PHP, and Java
DevOps
DevOps
Mar 14, 2016 · Operations

Installing and Configuring TFS Build vNext Agent on Windows

This guide explains how to install Node.js, download the TFS Build vNext agent, configure it on Windows using PowerShell, set execution policies, and register the agent with TFS, covering required tools, configuration options, and optional service setup.

Build AgentCIDevOps
0 likes · 7 min read
Installing and Configuring TFS Build vNext Agent on Windows
Aotu Lab
Aotu Lab
Feb 25, 2016 · Backend Development

How to Debug Node.js in Production: Performance, Crashes, and Memory Leaks

This guide explains practical techniques for diagnosing Node.js production issues, covering request‑latency analysis, CPU profiling with perf and FlameGraph, crash investigation via Core Dumps and mdb_v8, and memory‑leak detection using gcore and mdb_v8 diff tools.

CPU FlameGraphMemory LeakNode.js
0 likes · 11 min read
How to Debug Node.js in Production: Performance, Crashes, and Memory Leaks
21CTO
21CTO
Jan 29, 2016 · Backend Development

Choosing a Niche Language for Your Startup: Python, Ruby, Node.js, Go Pros & Cons

The article examines how early‑stage startups can evaluate less‑common programming languages—Python, Ruby, Node.js, and Go—by weighing their disadvantages such as dynamic typing challenges, limited community support, hiring difficulties, and performance constraints, and explains why a mixed Python‑Go stack may balance rapid development with long‑term stability.

GoNode.jsPython
0 likes · 11 min read
Choosing a Niche Language for Your Startup: Python, Ruby, Node.js, Go Pros & Cons
Node Underground
Node Underground
Jan 28, 2016 · Backend Development

Mastering Node.js Streams: From Basics to Real-World Applications

This article explains the concept of streams in Unix and Node.js, describes the four stream types, shows how to create and control readable streams with code examples, and demonstrates practical uses such as file serving, piping, and building an HTTP proxy.

Node.jsPipeasynchronous I/O
0 likes · 9 min read
Mastering Node.js Streams: From Basics to Real-World Applications
Node Underground
Node Underground
Jan 14, 2016 · Backend Development

Why Node.js VM Contextify Causes Memory Bloat and How to Fix It

This article analyzes how improper use of Node.js's VM module leads to high CPU and memory consumption, explains the underlying contextify and Persistent handle mechanisms, and presents three practical solutions plus diagnostic tools to prevent and troubleshoot such performance issues.

GCMemory LeakNode.js
0 likes · 13 min read
Why Node.js VM Contextify Causes Memory Bloat and How to Fix It
Aotu Lab
Aotu Lab
Jan 13, 2016 · Operations

Automate Website Deployment with GitHub Webhooks and Shell Scripts

This guide explains how to use GitHub Webhooks together with a shell deployment script, a Node.js listener, and Nginx reverse proxy to achieve fully automated website deployment, covering setup, code examples, and practical considerations.

GitHubNginxNode.js
0 likes · 8 min read
Automate Website Deployment with GitHub Webhooks and Shell Scripts
21CTO
21CTO
Jan 10, 2016 · Backend Development

How to Build a Powerful Site Search with Elasticsearch on Ubuntu

This article walks through installing Elasticsearch on Ubuntu, adding the IK Chinese analyzer and synonym filter, configuring custom analyzers, and using the Node.js client to index and query documents, providing a complete, reproducible setup for site‑wide full‑text search.

ElasticsearchIK analyzerNode.js
0 likes · 12 min read
How to Build a Powerful Site Search with Elasticsearch on Ubuntu
Node Underground
Node Underground
Dec 31, 2015 · Backend Development

When Does Node.js’s drain Event Fire? A Deep Dive into Stream Backpressure

This article investigates the conditions under which Node.js’s drain event is emitted, explores its relationship with socket.write’s return value and highWaterMark, demonstrates experiments with TCP and HTTP streams, and shows how to implement proper back‑pressure handling using pause/resume or pipe.

Node.jsbackend developmentbackpressure
0 likes · 13 min read
When Does Node.js’s drain Event Fire? A Deep Dive into Stream Backpressure
Node Underground
Node Underground
Dec 29, 2015 · Backend Development

Master Node.js Unit Testing with npm Scripts, Makefile, and CI

This guide walks through setting up Node.js unit testing using Mocha and Istanbul, streamlining commands with npm scripts and a Makefile, handling glob patterns, and integrating continuous integration with Travis CI or a custom UITest-ci solution.

MakefileNode.jscontinuous integration
0 likes · 7 min read
Master Node.js Unit Testing with npm Scripts, Makefile, and CI
21CTO
21CTO
Dec 15, 2015 · Backend Development

Will JavaScript Conquer All Development Platforms? Node.js, Mobile & More

Kevin Lacker argues that JavaScript’s pervasive ecosystem is turning it into the default language for browsers, servers, and even native mobile apps, with Node.js leading backend adoption, React Native pushing cross‑platform native development, and industry surveys confirming its growing dominance across the developer community.

JavaScriptNode.js
0 likes · 10 min read
Will JavaScript Conquer All Development Platforms? Node.js, Mobile & More
Node Underground
Node Underground
Dec 15, 2015 · Backend Development

Mastering Multi‑Process Code Coverage in Node.js with Istanbul

Learn how to achieve comprehensive code coverage for multi‑process Node.js applications by using Istanbul, instrumenting child processes, writing Mocha tests, and merging coverage reports, with detailed examples of master‑worker RPC, custom fork hacks, and package.json scripts for automated testing.

IstanbulNode.jscode coverage
0 likes · 12 min read
Mastering Multi‑Process Code Coverage in Node.js with Istanbul
21CTO
21CTO
Dec 9, 2015 · Backend Development

How Worktile Built a Scalable MEAN Stack with Real‑Time Messaging

This article explains how Worktile’s team collaboration platform combines a single‑page AngularJS front‑end with Node.js, Redis, MongoDB, and ejabberd XMPP services to achieve cross‑platform access, native‑like interactions, and high‑performance real‑time updates for over 100,000 teams.

AngularJSMEAN stackNode.js
0 likes · 10 min read
How Worktile Built a Scalable MEAN Stack with Real‑Time Messaging
Node Underground
Node Underground
Dec 3, 2015 · Backend Development

How Does Node.js Perform Synchronous Operations on an Asynchronous Engine?

This article explains how Node.js implements synchronous file system and child‑process APIs on top of its asynchronous libuv core, covering the underlying C/C++ bindings, error handling, debugging techniques, and the practical trade‑offs of using sync methods in real‑world scripts.

File SystemNode.jsSynchronous
0 likes · 11 min read
How Does Node.js Perform Synchronous Operations on an Asynchronous Engine?
Node Underground
Node Underground
Nov 26, 2015 · Backend Development

How to Build a Reusable GraphQL Server with Node.js for Scalable Data Access

This article explains why traditional front‑end/back‑end data coupling leads to duplicated effort, introduces GraphQL as a solution, and provides a step‑by‑step guide to creating a Node.js GraphQL server, defining schemas, handling queries, mutations, and extending the API for flexible, reusable data retrieval across multiple business scenarios.

APIBackendGraphQL
0 likes · 14 min read
How to Build a Reusable GraphQL Server with Node.js for Scalable Data Access
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Nov 25, 2015 · Backend Development

Mastering Node.js Memory: How V8 Manages Heap, Garbage Collection, and Leak Detection

This article explains Node.js memory architecture, how the V8 engine allocates and frees memory across code, stack, and heap, demonstrates using process.memoryUsage() to monitor RSS, heapTotal and heapUsed, describes V8’s Scavenge and Mark‑Sweep garbage collectors, and provides practical techniques for detecting and debugging memory leaks with heap snapshots and profiling tools.

Node.jsdebugginggarbage collection
0 likes · 12 min read
Mastering Node.js Memory: How V8 Manages Heap, Garbage Collection, and Leak Detection
Node Underground
Node Underground
Nov 17, 2015 · Backend Development

nvm vs n: Which Node.js Version Manager Should You Choose?

This article compares the two popular Node.js version managers, nvm and n, examining their installation methods, system support, handling of global modules, and path configuration to help developers decide which tool best fits their workflow.

NVMNode.jsbackend development
0 likes · 6 min read
nvm vs n: Which Node.js Version Manager Should You Choose?
Node Underground
Node Underground
Nov 3, 2015 · Backend Development

Unlocking Node.js Multi‑Process Power: How Cluster and Fork Boost Performance

This article examines Node.js’s early criticisms about reliability and single‑threaded limits, then explains how the built‑in cluster module and fork() enable multi‑process deployment, load balancing, and communication, illustrated with code demos, performance insights, and a look at nginx proxy integration.

ClusterNginxNode.js
0 likes · 9 min read
Unlocking Node.js Multi‑Process Power: How Cluster and Fork Boost Performance
Node Underground
Node Underground
Nov 2, 2015 · Backend Development

How Does Node.js Achieve Event‑Driven, Non‑Blocking I/O? Explore the Secrets

This article introduces Node.js’s core characteristics—event‑driven, non‑blocking I/O, lightweight and efficient—while posing key questions about its underlying mechanisms, asynchronous callbacks, synchronous alternatives, event handling, performance limits, and scenarios where Node.js may not be suitable.

Node.jsasynchronousevent-driven
0 likes · 3 min read
How Does Node.js Achieve Event‑Driven, Non‑Blocking I/O? Explore the Secrets
Node Underground
Node Underground
Oct 27, 2015 · Backend Development

Why Node.js Became the Backbone of Modern Web Development

This article traces Node.js’s evolution from a modest 2009 V8‑based runtime to a dominant backend platform, highlighting npm’s impact, its event‑driven, non‑blocking architecture, real‑world strengths and limitations, and why careful evaluation is essential before adopting it.

JavaScriptNode.jsbackend development
0 likes · 6 min read
Why Node.js Became the Backbone of Modern Web Development
21CTO
21CTO
Oct 12, 2015 · Backend Development

Why Your JavaScript Functions Aren’t Optimized: V8 Performance Killers Explained

This guide reveals the common JavaScript patterns that prevent V8’s optimizing compiler from generating fast machine code, covering unsupported syntax, misuse of arguments, excessive switch cases, problematic for‑in loops, and infinite loops, and provides practical techniques to keep your Node.js code performant.

Node.jsV8performance
0 likes · 13 min read
Why Your JavaScript Functions Aren’t Optimized: V8 Performance Killers Explained
21CTO
21CTO
Sep 30, 2015 · Frontend Development

Why JavaScript Evolved from a Toy to the Backbone of Modern Web

After 15 years in software, the author reflects on JavaScript’s transformation from a simple validation script in the early 2000s to a pivotal language powering both front‑end interfaces and back‑end services, highlighting functional programming, ecosystem growth, and the market forces that drove its rise.

Functional ProgrammingNode.js
0 likes · 9 min read
Why JavaScript Evolved from a Toy to the Backbone of Modern Web
Qunar Tech Salon
Qunar Tech Salon
Sep 14, 2015 · Backend Development

Technical Talk Series: Engineering Node.js Development, SEO, Watcher Monitoring, Native Modules, Code Elegance, Chrome Extensions, and Web Components

A series of internal technical talks covers engineering Node.js development and operations, fast SEO and watcher solutions, native module creation, code elegance principles, rapid Chrome plugin development, and the future of web componentization, inviting staff to attend on September 19.

Chrome extensionsNative ModulesNode.js
0 likes · 5 min read
Technical Talk Series: Engineering Node.js Development, SEO, Watcher Monitoring, Native Modules, Code Elegance, Chrome Extensions, and Web Components
21CTO
21CTO
Aug 14, 2015 · Frontend Development

From AJAX to Node: A Journey Through Modern Web Development

Tracing the evolution of web technologies—from early AJAX challenges and jQuery’s rise, through Chrome’s dominance, GitHub’s impact, OAuth, JSON, and modern frameworks like Node.js and Bootstrap—the article reflects on how these tools reshaped frontend development and the broader software landscape.

AJAXNode.jsbig data
0 likes · 14 min read
From AJAX to Node: A Journey Through Modern Web Development
Architect
Architect
Jul 30, 2015 · Backend Development

Technical Architecture of Worktile: SPA Design, Service Stack, and Real-time Messaging

Worktile’s architecture combines a single‑page AngularJS front‑end with a Node.js/Express backend, leveraging MongoDB, Redis, and ejabberd for real‑time messaging, illustrating how SPA design, modular services, and long‑connection techniques enable a stable, high‑performance team collaboration platform.

AngularJSMongoDBNode.js
0 likes · 11 min read
Technical Architecture of Worktile: SPA Design, Service Stack, and Real-time Messaging
Architect
Architect
Jul 23, 2015 · Information Security

Web Security in Front‑End Development: XSS and CSRF Prevention with Midway

This article explains common web security threats such as XSS and CSRF in a front‑end/back‑end separated architecture and demonstrates how the Midway framework provides HTML escaping, rich‑text filtering, and token‑based CSRF protection to safeguard user data and application integrity.

CSRFHTML EscapeMidway
0 likes · 13 min read
Web Security in Front‑End Development: XSS and CSRF Prevention with Midway
Qunar Tech Salon
Qunar Tech Salon
Feb 11, 2015 · Backend Development

Why Bowery and Other Companies Prefer Go Over Node.js: Key Advantages

The article summarizes Bowery’s migration from Node.js to Go and outlines six major advantages of Go—cross‑platform compilation, rapid deployment, built‑in concurrency primitives, integrated testing framework, comprehensive standard library, and structured developer workflow tools—backed by examples from leading tech firms.

BackendGoNode.js
0 likes · 6 min read
Why Bowery and Other Companies Prefer Go Over Node.js: Key Advantages
Baidu Tech Salon
Baidu Tech Salon
Dec 30, 2014 · Backend Development

The Split of Node.js: Emergence of Io.js and Its Implications for the Backend Community

Discontent with Joyent’s corporate stewardship prompted several core Node.js developers to fork the runtime into Io.js, releasing a V8‑upgraded alpha in January 2015, a move that highlights open‑source governance tensions and could reshape backend adoption by offering a more autonomous, community‑driven platform.

Node.jsbackend developmentcommunity governance
0 likes · 8 min read
The Split of Node.js: Emergence of Io.js and Its Implications for the Backend Community
Qunar Tech Salon
Qunar Tech Salon
Dec 17, 2014 · Backend Development

The Origin and Goals of io.js: A Fork of Node.js

The article explains how io.js emerged as a community‑driven fork of Node.js in early 2015 to address release frequency and governance concerns, describing its open management model, weekly release plans, compatibility with the npm ecosystem, and the broader context of Node Forward and community reactions.

JavaScriptNode.jsio.js
0 likes · 5 min read
The Origin and Goals of io.js: A Fork of Node.js
MaGe Linux Operations
MaGe Linux Operations
Oct 9, 2014 · Operations

Integrate WeChat Alerts into Nagios Using Node.js

This guide walks you through registering a WeChat public account, setting up a Node.js simulator for login and friend retrieval, installing Node.js, configuring Nagios commands and contacts, and finally enabling WeChat notifications for monitoring alerts.

AlertingNagiosNode.js
0 likes · 6 min read
Integrate WeChat Alerts into Nagios Using Node.js
MaGe Linux Operations
MaGe Linux Operations
Jun 24, 2014 · Cloud Native

Getting Started with Docker: A Beginner’s Guide to Containers

This article introduces Docker, explains its architecture and advantages over virtual machines, compares it with Vagrant, and provides a step‑by‑step tutorial for installing Docker on Fedora, pulling images, running a Node.js/Express app inside a container, and publishing the image to Docker Hub.

DockerExpressFedora
0 likes · 11 min read
Getting Started with Docker: A Beginner’s Guide to Containers