Forum: private communication, profiles and stable text
The expanded forum application adds private notifications/direct messages and public profile activity to the earlier six-graph-feature study. It also removes benchmark-only product surfaces. This is a new workload; instruction differences from the old feature bundle are not an isolated engine optimization comparison.
Implemented choices
- Exact Nyxus metadata and indexes serve discussions, visibility-only profile counters, follows, recipient inboxes and participant-only message threads.
- Each text owner attaches its own opaque Hylix Texts child. Post bodies, biographies and messages have no second retained payload copy. A single Minima authority backs both its collections and Hylix's mapped image.
- Likes and replies produce private notices in their normal accepted write frame. No-ops/self-actions add none; parent/topic recipients are deduplicated. Private messaging/read state does not change public activity counters.
- Explicit sender sequences recognize the latest identical DM retry. Metadata pages stay bounded and do not load text; message/body requests read stable text.
- Useful HLL, ExaLogLog, Count-Min, DDSketch, SetSketch and exact-verified duplicate filtering remain. Local archive/snapshot reconciliation, redundant weighted bytes, arbitrary fixed cohorts/buckets, digest refreshes and unused rollups are removed from the application, while their SDK collections remain available.
The fixed real-app population is 300,000 users, 100,000 topics, 1,000,000 posts, 3,000,000 likes and the existing graph relationships. Private communication adds 30,000 conversations/120,000 messages spanning three bounded body sizes. The independent host oracle derives recipient-local notification order and counts; seeded topic authors now match their starter posts. Small fixtures qualify behavior before the populated-scale run.
Qualification reached
The canonical source is experiment commit b5303c66; its owned feature changes
were subsequently cherry-picked to Main through 7eb81273 with documentation in
dcf6d950. All 47 unrelated SDK working files remained byte-identical to the
frozen effective SDK snapshot and were excluded from these commits.
Native forum tests: 125 pass. Native graph tests: 6 pass. Locked/offline metadata and canonical Wasm source/output/consumed-metadata checks pass.
The executed business-gate evidence records the actual Small canister result: exact notifications, 40 seeded DMs, private access checks, retry/counter separation, eight real finalized-frame traps, same-artifact KEEP and fresh private work afterward. Each trap restored the complete stable image; KEEP preserved that image and exposed post/bio/DM/read state. This does not qualify arbitrary cross-version conversion or the later large population.
The overall smoke script stopped at its final diagnostic assertion. Its
business gates pass; stack attribution is partial. PINd34 retains the complete
origin map, while a separate fixed MAX_STACKS = 2048 table omits later physical
stack IDs. The execution ledger and page events still reconcile. No partial
profile is labelled complete, and no repeated lifecycle run is needed to prove
an unconfigurable profiler limit.
The measured server is PocketIC 16.1.0 SHA-256
d34f1f5621047f368e048f2c153cc19e2260361b73b1ca1e89269ec2a609fb1f,
with explicit 2,097,152 origin ranges and 512 MiB retained trace budget. Source
archives containing unrelated SDK work remain local; this packet publishes
outcomes, identities and bounded proof metadata only.
The subsequent 6a9a75ad… server update changes browser workspace/snapshot
diagnostics. Its published accounting rules and referenced accounting sources
match PINd34. A bounded actual replay also
matches eleven same-guest calls exactly in replies, float bits, whole-call
instructions and heap fees. New harness defaults use this server. The matched
study below remains measured on PINd34; this limited replay does not relabel
Large or Heavy16 results as new-server measurements.
Complete Small baseline
The revised full protocol passes: 107 primary scenarios, 1,667 samples and 2,147 physical calls, plus 21 lifecycle checks. KEEP preserves the full 9,568,256-byte stable image. The qualification receipt and all primary costs retain their exact denominators. Eleven bounded profiles reconcile; four have partial physical stacks, with no claim that a complete origin dictionary resolves every Rust/inline frame.
Populated-scale baseline and text-read selection
The full 300,000-user fixture passes all 107 primary scenarios, 2,147 physical calls and 21 lifecycle checks. The complete cost table, capacity observations and qualification keep measurements separate from live-data size and host latency. Large traps and KEEP check affected owners, private state, text and canaries, followed by fresh work. A complete Large stable-byte export is explicitly not run; Small supplies the separate whole-image proof. All eleven Large diagnostic ledgers reconcile; five retain partial physical stacks.
The scoped text-reader candidate is merged as ad2059fa. Its Small comparison
has identical raw responses, calls and lifecycle outcomes: 4 cheaper, 103 tied,
0 costlier. It reuses one private read guard across a bounded body page, without
a persistent text cache or layout change.
| Complete Small scenario | Before | After | Change |
|---|---|---|---|
| Topic page | 1,810,451 | 1,726,347 | −4.65% |
| Four-call discussion interaction | 10,749,636 | 10,665,503 | −0.78% |
| Read 20 × 4,096-byte DMs | 6,553,646 | 6,542,512 | −0.17% |
| Four-call private reading session | 4,880,916 | 4,808,412 | −1.49% |
These are per-scenario means; overlapping scenarios are not summed into an application-wide speedup. The DM page still performs each stable lookup, payload copy and reply; its heap fees are unchanged. All 107 rows remain in the delta table, with qualification and the acceptance audit. Small gains do not establish Large gains.
The matched extractor and baseline extractor regenerate detailed tables from local recorded runs. Immutable SDK snapshots and raw traces are retained locally and excluded from this publication.
Later candidate screens use the explicitly reviewed primary-recovery host
adapter. It retains all primary calls, fixtures and recovery checks, while
omitting only the listed post-primary source profiles and read-only companions.
The extractor defaults to identical host hashes; changed hosts require the
paired adapter receipt, binding
the exact sources, results, comparison mode and omissions. It does not grant a
general exception for different requests or reduced business coverage.
RRT controls on the measured server
Fresh Heavy16 replays preserve the exact qualified guest artifacts and verify their immutable source/output archives and unchanged reachable dependency graph. The control receipt records the explicit replay-binding mode; the original live-path checker was not rerun against relocated sources.
| Heavy16 control | Complete replicated instructions | Rounds | Workflow latency p50 / p95 / max |
|---|---|---|---|
| Nyxus | 91,441,531,990 | 49 | 4.8 / 11.4 / 18.6 s |
| Hylix | 370,896,428,086 | 67 | 21.6 / 28.8 / 31.2 s |
Both complete the same 19,200 workflows and 594,000 steps, without traps, rejected ingress or reoffered frames. Instructions, rounds, latency and memory match the previous controls exactly. These are fresh PINd34 executions, separate from the earlier server results and the unrelated initial host socket failure.
Final selection
The SetSketch arithmetic change is selected: 596 paired Minima rows have one improvement and 595 exact instruction ties, with no regressions. Actual scalar/batch float-bit checks and the Small forum comparison pass. Its SDK changes remain outside RRT's dependency closure.
The combined populated-scale comparison passes all 107 scenarios and 21 lifecycle checks. It selects scoped text reads, streamed tag browsing and SetSketch arithmetic reuse: 7 scenarios become cheaper, 98 tie and 2 have small increases. One-tag browsing improves 14.11%; the two-tag full-budget path costs 0.22% more. Population costs and heap/stable high-water marks tie. All selected source changes are merged; normal benchmark commands now use the consumed-candidate oracle.
The final report retains complete-call instructions, exact physical calls, included heap fees and separate heap/stable capacities. It does not derive throughput from host time or claim complete final source profiling or a whole Large stable-byte hash.