Add tenant-density validation and production evidence - #1659
Draft
yyyyaaa wants to merge 1 commit into
Draft
Conversation
This was referenced Aug 5, 2026
yyyyaaa
force-pushed
the
research/graphile-density-stack-06-validation-evidence
branch
from
August 5, 2026 02:57
4967693 to
5fde64e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Part 6 of 6 in the draft tenant-density stack: #1654 → #1655 → #1656 → #1657 → #1658 → #1659 (this PR). This top layer contains the measurement/hostile-validation rig and records what the stack has and has not proved.
It refreshes the useful process-isolation, open-loop load, canary, and artifact ideas from #1335. The old blueprint-pooling results are labeled historical because they depended on the rejected SQL-rewrite design and included an inconclusive isolation canary; they are not evidence for this dedicated-instance candidate.
What changes
Evidence so far
pg_classsingle-surface fixture; final RSS delta was 47.77 MiB versus 1,106.94 MiB.Why this remains a draft
These results prove a large per-instance memory improvement and strong hostile-fixture isolation, but they do not yet prove complete-customer tenants per GiB in production. The required 1/2/4 GiB matrix still needs three repetitions per arm, 15-minute mixed workloads at every ramp point, and a two-hour maximum-density churn soak, followed by final throughput/p99 measurement on the security-complete code.
Production also remains blocked on the atomic route/security revision and WebSocket revocation work in #1658, a production-schema RLS/ACL policy proof, an explicit per-API auth-required contract, upstream Graphile review/removal of temporary patches, multipart storage byte roundtrips, and intended external-provider gates. No security check may be removed to recover a performance number.