carlos / platform Public

design-stateless-replicas-scale

Design for #892: stateless replicas at production scale. Docs only.

Adds docs/superpowers/specs/2026-11-11-stateless-replicas-production-scale-design.md, rev 1. It builds on the 11-01 stateless replicas design and changes none of its decisions.

  • Scale a copy up, keep copies to boxes: one copy per box (11-01 §5.4 carried to production), web and workers as several processes inside each copy (Puma cluster mode, a Sidekiq swarm or worker entries). Worker-only instances and worker-only copies are rejected, with reasons.
  • Four slices: S1 CARLOS_MEMORY_MIB for every rootfs process (now, independent of #511 Plan 4); S2 Plan 4 Task 4's fleet sizes (handed to #892, after Plan 4 merges); S3 a drain swap for copies too big to overlap; S4 a three-box drill and a production sizing guide.
  • §9 lists the author's calls for Paul (Q1 to Q6).

Review: Astra, under the stopping rules. Boundary with #511 agreed with the Plan 4 controller on 2026-11-11 (spec §7).

Commits 4
Files changed 3 +4,018 −0
Discussions 1 1 open
Tasks 0/0 done

Activity