A2
A2LABSCLOUD LAB
All Labs/Node.js 22 & Asynchronous I/O
Cloud Container
nodejs•main.js
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
UTF-8•Isolated Node v22.8 Container
16 lines
TERMINAL OUTPUT•STDOUT
Latency: 124.6ms•Memory: 42.1 MB
[A2Labs] Node.js v22.8.0 / Architecture: x64
[A2Labs] Host Container: sandbox-node-9182 (Linux 6.6.0-gvisor)
  ✓ Task 1 resolved
  ✓ Task 2 resolved
  ✓ Task 3 resolved
  ✓ Task 4 resolved
  ✓ Task 5 resolved
All tasks completed in 154.20ms
Exit Code 0 (SUCCESS)Last executed: Just now
Lab Overview

Node.js 22 & Asynchronous I/O

Experiment with modern Node.js 22 LTS features including native WebSocket clients, test runners, and process lifecycle hooks inside an isolated container.

Objectives (1/3)
  • Observe microtask vs macrotask execution order in the event loop
  • Stream memory buffers without blocking the main event queue
  • Inspect container resources and memory metrics via process.memoryUsage()
Runtime Bounds
Isolation:gVisor Container
VCPU / RAM:1 Core · 512MB RAM
Network Egress:Air-gapped netns

Alternative Environments

Need to test with a full compiler toolchain or bash terminal?