Tagged articles
11 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Aug 31, 2025 · Backend Development

Boost Node.js Performance with Worker Threads: A Practical Guide

This article explains how Node.js Worker Threads enable true parallelism for CPU‑intensive tasks, prevent event‑loop blocking, improve scalability with microservices, leverage shared memory for speed, and lead to cleaner, more maintainable code, complete with real‑world examples and starter code.

Backend DevelopmentNode.jsWorker Threads
0 likes · 10 min read
Boost Node.js Performance with Worker Threads: A Practical Guide
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 9, 2025 · Databases

Unlocking OceanBase Thread Limits: How min_worker_cnt and max_worker_cnt Are Calculated

This article explains why OceanBase enforces minimum values for min_worker_cnt and max_worker_cnt, shows the source‑code formulas used to compute them, demonstrates how to verify and adjust these parameters, and clarifies the impact of tenant memory and Meta‑tenant reservations on the final values.

Database ConfigurationOceanBaseParameter Tuning
0 likes · 12 min read
Unlocking OceanBase Thread Limits: How min_worker_cnt and max_worker_cnt Are Calculated
Qunar Tech Salon
Qunar Tech Salon
Nov 18, 2022 · Cloud Computing

Optimizing Qunar's Serverless Platform: Parallel Computation, Thread‑Pool Design, and Cache Governance

This article details how Qunar improved its Serverless FAAS platform by introducing Node.js worker_threads for parallel computation, designing a thread‑pool with shared buffers and postMessage communication, and implementing comprehensive cache pre‑heating and governance, resulting in a 72% reduction in P99 latency and more stable service performance.

Cloud FunctionsNode.jsServerless
0 likes · 18 min read
Optimizing Qunar's Serverless Platform: Parallel Computation, Thread‑Pool Design, and Cache Governance
Alibaba Terminal Technology
Alibaba Terminal Technology
Nov 11, 2020 · Backend Development

Safely Running Untrusted Code in Node.js: Isolation Strategies & Performance

This article examines reliable and relatively reliable methods for executing untrusted JavaScript code in Node.js, comparing new Function, the VM module, and Worker Threads, discussing their isolation levels, memory and CPU limits, performance overhead, and extending to container and WebAssembly security solutions.

Node.jsSecurityWebAssembly
0 likes · 8 min read
Safely Running Untrusted Code in Node.js: Isolation Strategies & Performance
Taobao Frontend Technology
Taobao Frontend Technology
Oct 29, 2020 · Backend Development

How to Safely Execute Untrusted Code in Node.js: From new Function to VM and Worker Threads

This article examines reliable and trustworthy execution of dynamic JavaScript in Node.js, compares isolation techniques such as new Function, the vm module, and worker threads, evaluates their performance and security trade‑offs, and explores advanced container and WebAssembly sandboxing options.

Node.jsWebAssemblyWorker Threads
0 likes · 9 min read
How to Safely Execute Untrusted Code in Node.js: From new Function to VM and Worker Threads
政采云技术
政采云技术
Dec 29, 2019 · Backend Development

Unveiling Node.js: How Processes, Threads, and Clusters Really Work

This article explains Node.js's internal concurrency model, covering the distinction between processes and threads, debunking the single‑thread myth, and detailing how the event loop, child processes, cluster mode, and worker_threads enable high‑performance, multi‑core execution.

ClusterNode.jsThread
0 likes · 17 min read
Unveiling Node.js: How Processes, Threads, and Clusters Really Work
Node Underground
Node Underground
Oct 14, 2019 · Backend Development

How to Harness Node.js Worker Threads with Shared Memory and CGroup Limits

This article demonstrates creating Node.js Worker Threads to compute Fibonacci numbers, explains message passing via workerData and parentPort, explores shared memory with SharedArrayBuffer, and shows how to isolate and limit thread CPU usage using Linux CGroup controls, including retrieving thread IDs via a custom native addon.

Node.jsSharedArrayBufferWorker Threads
0 likes · 8 min read
How to Harness Node.js Worker Threads with Shared Memory and CGroup Limits
Node Underground
Node Underground
Aug 31, 2019 · Backend Development

Mastering Node.js Worker Threads: Boost CPU‑Intensive Tasks

This article explains the architecture of Node.js, the limitations of its single‑threaded event loop for CPU‑heavy workloads, and how the experimental worker_threads module provides a multi‑threaded solution, including core concepts, APIs, best practices, and sample code to improve performance.

CPU-intensiveNode.jsWorker Threads
0 likes · 10 min read
Mastering Node.js Worker Threads: Boost CPU‑Intensive Tasks
Node Underground
Node Underground
Nov 23, 2018 · Backend Development

What’s New in Node.js 10 LTS? Key Features, Deprecations, and Experimental APIs

Node.js 10 LTS introduces major updates such as native HTTP/2 support, BigInt, recursive directory creation, CLI flag auto‑completion, Windows installer improvements, V8‑based code coverage, deprecated Buffer constructors, and experimental Worker Threads, while also upgrading OpenSSL and adding PEM‑level encryption.

BIGINTHTTP/2LTS
0 likes · 11 min read
What’s New in Node.js 10 LTS? Key Features, Deprecations, and Experimental APIs
Architect
Architect
Feb 25, 2016 · Databases

Understanding MySQL 5.6 Parallel Replication (MTS) Architecture and Implementation

This article explains the design, configuration parameters, core data structures, initialization, coordinator distribution, worker execution, checkpointing, and shutdown procedures of MySQL 5.6's Multi‑Threaded Slave (MTS) parallel replication, providing a code‑level walkthrough for developers and DBAs.

BinlogCheckpointDatabase Replication
0 likes · 17 min read
Understanding MySQL 5.6 Parallel Replication (MTS) Architecture and Implementation