Tag

worker threads

1 views collected around this technical thread.

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.

CachingCloud FunctionsNode.js
0 likes · 18 min read
Optimizing Qunar's Serverless Platform: Parallel Computation, Thread‑Pool Design, and Cache Governance
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.jsPerformanceSecurity
0 likes · 9 min read
How to Safely Execute Untrusted Code in Node.js: From new Function to VM and Worker Threads
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