platformatic/node-caged

By platformatic

Updated 23 days ago

Node.js with V8 pointer compression enabled - 50% memory reduction for pointer-heavy workloads.

Image
Languages & frameworks
5

50K+

platformatic/node-caged repository overview

Node.js with Pointer Compression (node-caged)

Node.js built with V8 pointer compression enabled, delivering ~50% memory reduction for pointer-heavy data structures.

Quick Start

docker pull platformatic/node-caged:latest
docker run -it platformatic/node-caged node

Available Tags

Floating tags (latest, trixie, slim, alpine) track the highest supported Node.js major (currently 26.x).

TagDescription
latest, trixieDebian trixie, Node.js 26.x (recommended)
slimMinimal Debian trixie-slim, Node.js 26.x
alpineAlpine Linux with musl, Node.js 26.x (smallest)
26, 26-slim, 26-alpineLatest Node.js 26.x
25, 25-slim, 25-alpineLatest Node.js 25.x
26.1.0, 26.1.0-slim, 26.1.0-alpinePinned 26.x version
25.6.0, 25.6.0-slim, 25.6.0-alpinePinned 25.x version

Memory Savings

Data StructureStandard Node.jsPointer CompressedSavings
Array of Objects (1M)40.47 MB20.24 MB50%
Nested Objects (500K)50.21 MB24.64 MB51%
Linked List (500K)19.08 MB9.54 MB50%

Tradeoffs

  • Heap limit: 4GB per isolate (main thread + each worker has its own 4GB limit)
  • Best for: Memory-constrained environments, high-density deployments

Note: The 4GB limit applies per V8 isolate. Using worker threads, you can exceed 4GB total memory (e.g., 4 workers = 20GB theoretical max).

Architectures

Multi-arch images for linux/amd64 and linux/arm64.

Tag summary

Content type

Image

Digest

sha256:e2abe42ff

Size

67.1 MB

Last updated

23 days ago

docker pull platformatic/node-caged:alpine