Skip to content

Publish the namespace isolation experiment - #99

Merged
rmcdaniel merged 2 commits into
mainfrom
feature/namespace-isolation-experiment
Sep 2, 2026
Merged

Publish the namespace isolation experiment#99
rmcdaniel merged 2 commits into
mainfrom
feature/namespace-isolation-experiment

Conversation

@rmcdaniel

Copy link
Copy Markdown
Member

Summary

  • add a reusable, published-artifact-only noisy/control namespace experiment
  • exercise API, workflow/activity dispatch, timers, signals, queries, updates, schedules, child workflows, Nexus, replay-heavy history, and external payload pressure
  • disrupt Redis and Server during load, retain queue/operator/resource evidence, and require post-pressure recovery
  • document the measured shared-cell envelope and the five-producer boundary where application-level admission no longer protects control latency

Recorded runs

Default cell, Server 2.0.3 and Python SDK 2.0.0:

  • two independent passing runs
  • representative retained run: 7 uncontaminated control completions, p50 10.1554s, p95/max 11.2527s
  • 10 concurrency, 8 request-rate, and 2 open-run noisy-namespace rejections
  • Redis recovery 4.532s; Server recovery 15.095s
  • control/noisy post-pressure completion 2.878s / 2.7909s
  • peak sampled stack memory 706.888 MiB; Server memory 157.5 MiB; aggregate CPU 185.6%

Boundary run with five continuously retrying noisy producers:

  • failed the same cell as intended
  • one uncontaminated control completion at 16.9974s
  • proves PHP-level admission is not volumetric DoS protection

Local validation

  • bash -n scripts/perf/run-namespace-isolation.sh
  • python3 -m py_compile scripts/perf/namespace_isolation.py
  • ruff check scripts/perf/namespace_isolation.py
  • git diff --check

Refs #91

@rmcdaniel
rmcdaniel marked this pull request as ready for review September 2, 2026 23:30
@rmcdaniel
rmcdaniel merged commit 6cacddb into main Sep 2, 2026
9 checks passed
@rmcdaniel
rmcdaniel deleted the feature/namespace-isolation-experiment branch September 2, 2026 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants