GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id(phase-14): join-time benches — cold and warm join at stress tiers · Issue #13084 · developing-today/code

id(phase-14): join-time benches — cold and warm join at stress tiers #13084

New issue
Copy link
New issue
Copy link
Closed
Closed
id(phase-14): join-time benches — cold and warm join at stress tiers#13084
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)design/id-phase-14Design: id-phase-14 - all issues of this effort carry itepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requeststatus:done

Description

@dezren39
dezren39
opened on Nov 23, 2026
Issue body actions

Part of the #6304 v1 large-world stress program (Phase 14 core topic #6281). Design: pkgs/id/doc/2026-11-23T07-53-00Z_design_scale_perf_stress_v1/2026-11-23T07-53-00Z_design_scale_perf_stress_v1.md. Depends on the stress generator slice of #6304's breakdown.

Scope

Add join-time measurements to pkgs/id/benches/world_bench.rs: cold join (open store, load latest checkpoint, replay journal tail, first view frame) and warm join (world already resident), reported p50/p95/p99 per scale tier. Measure against worlds whose journals sit at a checkpoint boundary and at the mid-interval worst case (just before the next checkpoint, default interval 2,000 ms).

Acceptance

  • bench lines for cold and warm join at the 1x and 10x tiers on the reference laptop, with the run manifest recorded.
  • Join result verifies against the generator manifest's expected state hash.
  • Numbers recorded in the limits table of the id(phase-14): Scale & performance hardening — v1 — first-iteration design #6304 design doc (or its successor table file).

Activity

  1. dezren39
    added
    kind/featureNew feature or capability request
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    design/id-phase-14Design: id-phase-14 - all issues of this effort carry it
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

    @developing-today
    developing-todayBot
    on Nov 23, 2026 – with developing.today
    Contributor
    More actions

    CODE-4773

  3. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Pickup (Lane QK, archer): working this now — join-time benches (cold + warm) at the 1x and 10x stress tiers in pkgs/id/benches/world_bench.rs, verified against the generator manifest's expected state hash, numbers recorded in the #6304 design doc's limits table. Dependency check: the stress generator slice (#13083) has landed (PR #13163 merged), so this is unblocked. Building on the laptop in a worktree off current main; verification on the reference laptop per the acceptance criteria.

  4. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    HOLD (Lane QK, archer) — supersedes my pickup above. Creating the laptop worktree for this item tripped a platform execution-risk check on the checkout content. Per the standing rule I stopped immediately: nothing in the worktree has been run, built, tested, or modified, and no code changes were made. This item now waits on Drew's item-specific go-ahead for this checkout.

    State left behind (untouched, for whoever resumes after approval):

    • Worktree ~/wt-lane-qk-13084 on the laptop, branch lane-qk-13084, at main ebd4bde81ca32ffedbad131a2590ecc9af065197 — pristine checkout, no edits.

    Prepared scope (fully mapped, ready to execute on approval):

    1. In pkgs/id/benches/world_bench.rs, add join-time measurements alongside the landed stress_gen profile (id(phase-14): stress generator — seeded tier worlds for the v1 stress program #13083, PR feat(id): seeded stress-world generator in world_bench (#13083) #13163): cold join (open store, load latest checkpoint, replay journal tail, first view frame) and warm join (world already resident), reported p50/p95/p99 per scale tier.
    2. Measure against worlds whose journals sit at a checkpoint boundary and at the mid-interval worst case (just before the next checkpoint; default interval 2,000 ms).
    3. Verify each join result against the generator manifest's expected state hash.
    4. Run at the 1x and 10x tiers on the reference laptop (pkgs/id nix develop shell), record the run manifest.
    5. Record the numbers in the limits table of the id(phase-14): Scale & performance hardening — v1 — first-iteration design #6304 design doc (pkgs/id/doc/2026-11-23T07-53-00Z_design_scale_perf_stress_v1/).
    6. PR, merge once verified, close this issue.
  5. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Takeover claim — Lane XZ (archer), 2026-11-23. Adopting Lane QK's orphaned claim on this item: QK claimed at 09:58:03Z and stopped on a platform execution-risk flag at 09:58:57Z (hold record c.7097341046, prepared scope recorded there); no done record, no PR, and no activity since — well over an hour, so the claim is orphaned and adopted per the orphan rule.

    Drew batch-approved all outstanding flag holds on 2026-11-23 ("Approve all the flag holds listed above"), which covers this item. Landing the prepared scope exactly as recorded in QK's hold comment: cold + warm join-time measurements in pkgs/id/benches/world_bench.rs at the 1x and 10x tiers (checkpoint-boundary and mid-interval journals), join results verified against the generator manifest's expected state hash, run manifest + numbers recorded in the #6304 design doc's limits table, then PR, merge, close.

  6. developing-today
    added
    status:in-review
    on Nov 23, 2026
  7. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #13424 from developing-today/lane-xz-13084

    d3e5721
  8. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Done — Lane XZ (archer), 2026-11-23. Landed via PR #13424, merged d3e57210434122737502a55f82be4a670646ae20 (head 696a4b7afb1b822810400bcebc8281919c2f39a4, SHA-guarded; pre-merge comment re-read count-confirmed 4/4 — no competing claim).

    What landed

    stress_join profile in pkgs/id/benches/world_bench.rs (+651/−3): cold join (open store, load latest checkpoint, replay journal tail, first view frame) and warm join (catch-up snapshot + first frame against a resident world), for each stress tier's hot world (5 reps) and active-world population (one join per world), each with the journal at a checkpoint boundary and at the mid-interval worst case (255-event tail — the 256-event / 2,000 ms checkpoint cadence minus the checkpoint itself). Four measured rows added to the limits table of the #6304 scale/perf design doc in the same PR.

    Acceptance check

    1. Bench lines at 1x and 10x on the reference laptop, run manifest recorded — yes; the profile emits a profile stress_join line per run carrying tier, seed (22673), fixture root, manifest path, and the manifest's hot-world state hash (1x cf92e013f46e3d2c, 10x c7c4fb2805ee72ed), plus 8 bench stress_join_* lines per tier (cold/warm × boundary/mid × hot/active) with p50/p95/p99.
    2. Join result verifies against the generator manifest's expected state hash — yes: fixture construction verifies every measured world exactly as the generator defines it (FNV-1a over the journal bytes + restored sequence vs expected_state_hash), and every measured join re-verifies restored sequence, program input count, and first frame after the clock stops.
    3. Numbers in the design's limits table — yes, four rows (cold/warm × 1x/10x) in the "First measured limits table (v1)".

    Numbers (p50, reference laptop, 2026-11-23)

    • 1x hot (10k events): cold 4.608 ms boundary / 7.312 ms mid; warm 0.868 / 0.846 ms. 1x active (100 worlds): cold 0.192 / 0.189 ms; warm 0.033 / 0.020 ms.
    • 10x hot (100k events, 256 members at the codified cap): cold 6.224 ms boundary / 6.186 ms mid; warm 0.884 / 0.592 ms. 10x active (1,000 worlds): cold 0.170 / 0.148 ms; warm 0.020 / 0.018 ms.
    • Headline: cold join grows only ~1.4x from 10k to 100k events — the checkpoint-carried retained window dominates; history length is nearly free.

    Disclosures

    • Checkpoint fixtures use the legacy admin-history form: JournalAdminHistory has crate-private fields and no public constructor, so a bench outside id-worlds cannot build current-form checkpoints — filed as id-worlds: JournalAdminHistory cannot be constructed outside the crate — no public constructor for current-form checkpoint fixtures #13421. The retained window is carried in full and serializes under the writer's own inline bound.
    • The 10x hot world runs at the 256-participant cap; warm setup revokes one roster member in the resident core (memory only, journal untouched) to admit the measured joiner.
    • Verification route: release bench binary on the reference laptop (fleet-build-lock + broker-pooled target dir), --quick smoke + full 1x/10x runs. The build ran with RUSTC_WRAPPER= after the shared sccache server stalled under multi-lane load — filed as laptop build infra: shared sccache server stalls under multi-lane load (clients parked 7+ min on trivial crates) #13423.

    Downstream

    #13087 (first full 10x stress run) named #13084 among its inputs — that leg is now clear; #13087 itself stays open. #13088 remains behind #13087 + #8239.

  9. dezren39
    closed this as completedon Nov 23, 2026
  10. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)design/id-phase-14Design: id-phase-14 - all issues of this effort carry itepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requeststatus:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.