# vortex > vortex (@avarok/vortex) is a drop-in replacement for piscina 5.3.2: a Node.js worker thread pool with a lock-free shared-memory core in plain JS (the default) or Rust compiled to WebAssembly. ## Project - [vortex: a drop-in replacement for piscina 5.3.2](https://vortex.avarok.net/index.md): Drop-in replacement for piscina 5.3.2: a Node.js worker thread pool with a lock-free shared-memory core, in plain JS (default) or Rust/WebAssembly ## Docs - [Compatibility with piscina 5.3.2 · vortex](https://vortex.avarok.net/docs/compat/index.md): Vortex is a drop-in replacement for piscina 5.3.2. piscina's own test suite runs unmodified against vortex (compat/piscina-5.3.2/, files pinned by… - [1. The interface vortex matches · vortex](https://vortex.avarok.net/docs/design/01-interface/index.md): vortex matches piscina 5.3.2 (npm latest on 2026-11-27; tag v5.3.2, commit 6c7e54630a8c28a96ce5c0625b463d849d21171c; engines.node >= 20). Source of truth for… - [2. Architecture · vortex](https://vortex.avarok.net/docs/design/02-architecture/index.md): One WebAssembly.Memory({shared: true}) is created by the main thread, passed to each worker once at startup (the only per-worker postMessage in steady state… - [3. Where the speed comes from · vortex](https://vortex.avarok.net/docs/design/03-speed/index.md): Everything here is a hypothesis until the phase-3 harness measures it (load < 15 written beside every number). The first act of phase 2 is a per-task cost… - [4. Proof plan · vortex](https://vortex.avarok.net/docs/design/04-proof/index.md): Mechanism: copy test/ and test/fixtures/ from tag v5.3.2 into compat/piscina-5.3.2/ byte-for-byte (sha256 manifest committed beside them, MIT licence notice… - [5. Phased plan and owner questions · vortex](https://vortex.avarok.net/docs/design/05-plan/index.md): Sizes: S ≈ half a day, M ≈ 1–2 days, L ≈ 3–5 days of lane time. Vortex is the lowest priority on the machine: builds only when load < 30, never a release… - [6. Where piscina 5.3.2 spends per-task time (profile, phase 2a) · vortex](https://vortex.avarok.net/docs/design/06-piscina-profile/index.md): These are CPU-profile shares, not benchmark results. Nothing here is a throughput claim. Tools: tools/profile-piscina/run.cjs (drives empty tasks) and… - [7. The Rust core as built (phase 2b) · vortex](https://vortex.avarok.net/docs/design/07-core/index.md): Crates: crates/vortex-core: no_std, no allocator, no thread_local!, no I/O. Waiting goes through the Futex trait and time arrives through the Clock trait or… - [8. The Node.js shim as built (phase 2c) · vortex](https://vortex.avarok.net/docs/design/08-node-shim/index.md): The shim is strict TypeScript in js/src/, compiled to CommonJS in dist/ (as piscina ships), plus a generated dist/esm-wrapper.mjs. It passes piscina 5.3.2's… - [09 — Phase 3 benchmarks · vortex](https://vortex.avarok.net/docs/design/09-bench/index.md): Branch phase-3-bench. Harness: bench/ (cell, run, report, impls, mini/). Raw data: bench/results/bench-results-t{4,8}.jsonl, one line per cell with the Node… - [10. Core specification: one layout, two cores · vortex](https://vortex.avarok.net/docs/design/10-core-spec/index.md): The shim talks to a pool's shared region only through CoreApi (js/src/core/api.ts). Two cores implement it over the layout and protocol below: This chapter is… - [vortex: design · vortex](https://vortex.avarok.net/docs/design/index.md): vortex is a worker thread pool whose core (queues, scheduling, worker accounting, backpressure, timing) is Rust compiled to wasm32-unknown-unknown with shared… - [Documentation · vortex](https://vortex.avarok.net/docs/index.md): The vortex documentation: compatibility with piscina, design notes, the core specification and the benchmark method and results.