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 — design(id): DoS suite & performance benchmark programme — adversarial CI coverage and per-interface regression gates · Issue #5685 · developing-today/code

design(id): DoS suite & performance benchmark programme — adversarial CI coverage and per-interface regression gates #5685

New issue
Copy link
New issue
Copy link
Open
Open
design(id): DoS suite & performance benchmark programme — adversarial CI coverage and per-interface regression gates#5685
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingmode/onlineFully doable remotely: design, config, code, cloudpriority/normalOrdinary priority (the default)source/design-architectFiled by the repo design architect jobstatus/triagedTriaged and routed (see agent note)task/triageQueue packet kind: verify, reproduce, and route this item

Description

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

Summary

Two programmes in one design, because they share infrastructure and each is half as useful without the other:

  1. A denial-of-service test suite in CI — adversarial load and abuse coverage that runs continuously, extending id(world): F12.18 denial-of-service test suite in CI #560 (F12.18 DoS test suite in CI) from a test-suite idea into a full adversarial programme.
  2. A performance benchmark programme — repeatable, comparable benchmarks of a standard server and of advanced scaling techniques, per interface, run as regression gates, not one-offs.

Relates to: #560.

Why both, why together

  • A system can pass benchmarks and still fall over under adversarial traffic; it can survive abuse and still be unusably slow for honest users. The load-generation, measurement, and environment machinery is largely the same — designing them separately duplicates it and guarantees the two suites drift into incomparable numbers.
  • Benchmarks without gates decay into dashboard decoration. DoS tests without baselines cannot distinguish "attack worked" from "server was already slow." Each programme supplies what the other lacks.

Part 1 — DoS / adversarial load suite (extends #560)

Threat and load classes to cover

  • Connection-level abuse: slow clients (slowloris-style), connection floods, half-open churn, oversized / never-ending requests, rapid reconnect storms.
  • Request-level abuse: expensive-query amplification, large payload / blob abuse, decompression and parsing bombs within protocol limits, request floods against the costliest endpoints (identify them — do not guess).
  • Protocol / interface abuse: per transport surface (each protocol id speaks): malformed frames, replay floods, capability-check bypass attempts via volume, federation / bridge traffic floods from a single peer.
  • State-exhaustion: storage growth attacks (journal / blob / index bloat), memory pressure via concurrent worlds / sessions, descriptor and task exhaustion equivalents in the server's runtime.
  • Fairness attacks: one tenant / world / identity starving others; noisy-neighbour scenarios in multi-world hosting.
  • Legitimate-surge control cases: flash-crowd patterns that are NOT attacks — the suite must show the server degrades gracefully rather than treating all load as hostile (rate-limit false-positive measurement).

Suite design requirements

  • In CI, but tiered: a fast adversarial smoke tier on every relevant change, a heavier suite on a schedule / merge queue, and a soak tier run less frequently — with explicit budgets so CI time does not explode.
  • Deterministic enough to gate on: pass/fail expressed as server behaviour under a defined load profile (stays responsive to a health probe, rejects excess within stated latency, recovers within N seconds after load stops), not as raw throughput numbers that flake between runners.
  • Recovery is part of the test: every scenario asserts post-attack recovery — no restart required, no corrupted state, queues drain, honest clients succeed again.
  • Blast-radius safety: the suite must never be runnable against a shared / production target by accident — environment guards, dedicated fixtures, and load-generator isolation.
  • Findings loop: a failing DoS scenario files / links a hardening follow-up; the suite is a source of hardening tickets, not just a gate.

Part 2 — Performance benchmark programme

The standard baseline

  • One standard server: a single, fixed, documented reference configuration (hardware class or CI runner class, server build, single database, default settings) that is THE baseline every result is compared against. Changing the baseline is a versioned event, announced and re-measured, never a silent drift.
  • Baseline workload suite: representative honest workloads — identity operations, capability checks, journal append/read, world sync, blob transfer — at defined scales (single user, small community, large world).

Advanced scaling techniques (measured against the baseline)

Each technique is benchmarked as baseline-vs-technique on identical workloads, reporting gain, cost, and complexity honestly — including "no gain" results:

  • Workers: additional worker processes / threads / async capacity — scaling curve as workers are added, and the point of diminishing returns.
  • Additional / sharded databases: extra database instances, read replicas, and sharded storage — which workloads actually benefit, cross-shard costs, and consistency-visible effects.
  • Other techniques the design identifies (caching layers, connection pooling, batching) — admitted only with the same baseline-comparison discipline.

Per-interface comparisons

  • Every benchmark that touches the network is run per interface: each transport / protocol surface id exposes, on identical workloads, so interface choice becomes a measured fact (throughput, latency percentiles, CPU per operation, behaviour under the Part 1 load profiles) rather than folklore.
  • A published comparison matrix: interface × workload × configuration (baseline / scaled), kept current by the programme rather than by one-off measurements.

Benchmarks as regression gates

  • Thresholds, not eyeballs: each gated metric has a regression budget (e.g. p95 latency or ops/sec may not regress beyond X% vs the stored baseline without an explicit, reviewed waiver recorded on the PR / issue).
  • Noise discipline: runner variance measured and published; gates tuned so real regressions fail and noise does not — including the procedure for re-baselining when a change is intentionally slower (with the trade-off stated).
  • Artefacts: every run stores machine-readable results (environment, build, config, workload, raw numbers) so results are comparable across months, not just across one PR.
  • Cadence: per-change micro-benchmarks for hot paths, scheduled full-suite runs for the matrix, and release-gate runs for the standard server.

Shared infrastructure

  • One load / workload generator framework serving both programmes (honest workloads and adversarial profiles as configurations of the same tool).
  • One results store and reporting format; dashboards are a view, never the only record.
  • Environment specification strict enough that "works on my runner" is diagnosable: pinned instance types or runner classes, warm-up rules, co-tenancy noise handling.

Non-goals

  • Production load testing or chaos programmes against live deployments (this is CI / dedicated-environment work).
  • Fixing every DoS weakness the suite finds — fixes are follow-on tickets; this programme finds, measures, and gates.
  • Benchmarking other systems as competitors (internal comparisons: baseline vs scaled, interface vs interface).
  • A general observability / metrics platform (consume what exists; only add what the gates require).

Acceptance criteria for the design deliverable

  • A design document covering both programmes, their shared infrastructure, CI tiering, and gating rules, linked from this issue.
  • The adversarial scenario catalogue (Part 1 classes above, made concrete per interface) with pass/fail and recovery criteria per scenario.
  • The standard-server baseline fully specified (environment, build, config, workloads, scales) and versioned.
  • The per-interface comparison matrix defined, with the scaling-technique comparison protocol (baseline-vs-technique, identical workloads).
  • Regression-gate rules: budgets, noise handling, waiver and re-baselining procedure.
  • Follow-on design tickets filed from the Decomposition sketch (or the sketch revised with reasons).

Decomposition sketch

Follow-on design tickets to be filed from this issue (indicative; revise during the work):

  1. Design: shared load & workload generator — one framework for honest workloads and adversarial profiles.
  2. Design: DoS scenario catalogue per interface — concrete scenarios, load profiles, pass/fail and recovery assertions.
  3. Design: CI tiering for adversarial & benchmark suites — smoke / scheduled / soak tiers, time budgets, and environment guards.
  4. Design: the standard server baseline — reference environment, workload suite, scales, and baseline versioning.
  5. Design: scaling-technique comparisons — workers and additional/sharded databases vs baseline, measurement protocol.
  6. Design: per-interface benchmark matrix — workloads × interfaces × configurations, results format and publication.
  7. Design: regression gates — budgets, noise model, waiver and re-baselining procedure, results store.

Open questions

  • How deterministic can adversarial pass/fail criteria be on shared CI runners — and which scenarios must move to dedicated hardware to mean anything?
  • What is the "standard server" when contributors' and CI hardware differ — a fixed cloud instance class, a container with enforced limits, or a normalised scoring model?
  • Which single workload is most representative of real id usage today, and how will the programme notice when real usage drifts away from the benchmark workloads?
  • Sharding: at what measured point does the baseline actually need it — is the sharded configuration a real roadmap item or a benchmark-only curiosity?
  • Who may grant a regression waiver, and how is a pattern of repeated waivers surfaced before it becomes the de-facto baseline?
  • How long are benchmark artefacts retained, and what storage / CI-minute budget does the whole programme get?

Expansion of #560: adversarial coverage plus a standing benchmark programme, with benchmarks as regression gates.

Activity

Next
  1. dezren39
    added
    priority/normalOrdinary priority (the default)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    mode/onlineFully doable remotely: design, config, code, cloud
    kind/designA design proposal (design-architect): multi-step, phased, decision-bearing
    source/design-architectFiled by the repo design architect job
    on Nov 4, 2026
  2. github-actions
    assigned
    dezren39
    on Nov 5, 2026
  3. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    Gap pass (WS-F, 2026-11-04): this issue's decomposition sketch is now filed.

    Each follow-on design ticket named in the sketch above was filed as its own issue (label app/id), so the acceptance item “Follow-on design tickets filed from the Decomposition sketch” can now be checked:

    • id: design: shared load & workload generator (from #5685) #5891 — shared load & workload generator
    • id: design: DoS scenario catalogue per interface (from #5685) #5892 — DoS scenario catalogue per interface
    • id: design: CI tiering for adversarial & benchmark suites (from #5685) #5893 — CI tiering for adversarial & benchmark suites
    • id: design: the standard server baseline (from #5685) #5894 — the standard server baseline
    • id: design: scaling-technique comparisons (from #5685) #5895 — scaling-technique comparisons
    • id: design: per-interface benchmark matrix (from #5685) #5896 — per-interface benchmark matrix
    • id: design: benchmark regression gates (from #5685) #5897 — benchmark regression gates

    Exception, where applicable: any sketch item already answered by a later filing is noted in the pass worklog rather than duplicated. Design prioritisation is now independent per ticket; implementation timing is a separate decision.

  4. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  5. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-n
    • Session / ID: task 10118
    • Found via: queue claim
    • Task: Triage issue design(id): DoS suite & performance benchmark programme — adversarial CI coverage and per-interface regression gates #5685 (design(id): DoS suite & performance benchmark programme) — verify state, confirm the decomposition is filed, record ordering across its children.
    • Expectation: effort class s (triage of an effort/l programme); done = triage findings posted on issue design(id): DoS suite & performance benchmark programme — adversarial CI coverage and per-interface regression gates #5685 and task 10118 completed as triaged.
    • Links: children issue id: design: shared load & workload generator (from #5685) #5891–id: design: benchmark regression gates (from #5685) #5897; relates issue id(world): F12.18 denial-of-service test suite in CI #560
  6. 27 remaining items

  7. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 8, 2026
  8. dezren39
    added a commit that references this issue on Nov 9, 2026

    docs(id): deterministic testing design for #5779 (task 13643)

    2a835f2
  9. dezren39
    added
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  10. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged

    • Agent: queue worker (repo-worker-code), lane code-c
    • Session / ID: task 18341
    • Found via: queue claim
    • Task: Triage of issue design(id): DoS suite & performance benchmark programme — adversarial CI coverage and per-interface regression gates #5685 (design(id): DoS suite & performance benchmark programme) — verdict: already triaged; the standing triage stands, with the child decomposition's state refreshed below. No new packet enqueued.
    • Expectation: done = verdict + fresh evidence recorded (this note) and task 18341 completed as triaged.

    Evidence (fresh, 2026-11-16):

    • Issue design(id): DoS suite & performance benchmark programme — adversarial CI coverage and per-interface regression gates #5685 is OPEN, carries status/triaged and no hold labels (no held / user/owned / do-not-merge / do-not-auto-edit). Triage of record: task 10118 (2026-11-05), remainder triages task 12255 and task 12762 (2026-11-08) — all concluding the same verdict: design(id): DoS suite & performance benchmark programme — adversarial CI coverage and per-interface regression gates #5685 stays open as the programme umbrella extending id(world): F12.18 denial-of-service test suite in CI #560 (still OPEN), and its work lives in the seven decomposition children id: design: shared load & workload generator (from #5685) #5891–id: design: benchmark regression gates (from #5685) #5897.
    • Child state refreshed this pass: id: design: shared load & workload generator (from #5685) #5891 CLOSED, id: design: DoS scenario catalogue per interface (from #5685) #5892 OPEN, id: design: CI tiering for adversarial & benchmark suites (from #5685) #5893 CLOSED, id: design: the standard server baseline (from #5685) #5894 OPEN, id: design: scaling-technique comparisons (from #5685) #5895 CLOSED, id: design: per-interface benchmark matrix (from #5685) #5896 CLOSED, id: design: benchmark regression gates (from #5685) #5897 OPEN. Four of seven children are now closed; the umbrella's acceptance is not met while id: design: DoS scenario catalogue per interface (from #5685) #5892, id: design: the standard server baseline (from #5685) #5894, and id: design: benchmark regression gates (from #5685) #5897 remain open.
    • The three open children are queue-backed individually (each carries task/triage; id: design: DoS scenario catalogue per interface (from #5685) #5892 additionally carries queue/parked + work/assigned), so their design work proceeds through their own queue tasks — no follow-on packet from this triage is needed, and filing a duplicate would violate dedupe.
    • No merged PR since the 2026-11-08 remainder triage closes or supersedes the umbrella; PR docs(id): answers to Drew's 2026-11-04 ID program questions #5707 remains a programme Q&A doc, not this design's deliverable (per the 2026-11-07 done-task-only audit, queue: no reconciliation between open issues and queue coverage — non-creator filings never get queue items #7016).

    Issue #5685 stays open as the umbrella; it closes when #5892, #5894, and #5897 close.

  11. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 17, 2026
  12. dezren39
    removed their assignment
    on Nov 20, 2026
  13. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged

    • Agent: queue worker (repo-worker-code), lane code-i
    • Session / ID: task 21834
    • Found via: queue claim (coverage reconciliation pass 2, tracking Queue reprioritization programme 2026-11-24: full census, reorder, unblock #14158)
    • Task: Second pass design(id): DoS suite & performance benchmark programme — adversarial CI coverage and per-interface regression gates #5685 — verdict: already triaged; the standing triage stands, refreshed with major progress below. No new packet enqueued.
    • Links: task 21834 · relates id(world): F12.18 denial-of-service test suite in CI #560 (now CLOSED) · children id: design: shared load & workload generator (from #5685) #5891–id: design: benchmark regression gates (from #5685) #5897

    Second-pass findings — umbrella nearly complete (verified fresh 2026-11-24, task 21834)

    • Still live, no hard stops: design(id): DoS suite & performance benchmark programme — adversarial CI coverage and per-interface regression gates #5685 is OPEN with status/triaged and no hold labels (no held / user/owned / do-not-merge / do-not-auto-edit). Prior triages (tasks 10118, 12255, 12762, 18341) all concluded the same: umbrella stays open until the children land.
    • Major progress since the 2026-11-16 triage: six of seven children are now CLOSED as done — id: design: shared load & workload generator (from #5685) #5891 (generator), id: design: DoS scenario catalogue per interface (from #5685) #5892 (scenario catalogue, PR docs(id): record DoS scenario catalogue for #5892 #7738), id: design: the standard server baseline (from #5685) #5894 (baseline identity, PR docs(id): standard server baseline design record (#5894) #7620), id: design: scaling-technique comparisons (from #5685) #5895, id: design: per-interface benchmark matrix (from #5685) #5896, id: design: benchmark regression gates (from #5685) #5897. Relates issue id(world): F12.18 denial-of-service test suite in CI #560 is also CLOSED. The CI-tiering record PR docs(id): CI tiering decision record for adversarial and benchmark suites (#5893) #10669 (§§1–4) is merged.
    • Sole open child: id: design: CI tiering for adversarial & benchmark suites (from #5685) #5893 (CI tiering confirmations) is OPEN, labelled status/blocked + queue/blocked, and queue-backed by live blocked task 12893. Its two §5 confirmations remain: (1) per-scenario tier table — unblocked by id: design: DoS scenario catalogue per interface (from #5685) #5892's closure but not yet authored; (2) per-metric scheduled bench numbers — blocked on the missing qualifying server-baseline/v1.0 run (no server harness exists yet). Full evidence in the 2026-11-18 agent note on id: design: CI tiering for adversarial & benchmark suites (from #5685) #5893.
    • Why no new packet from this pass: the only remainder lives inside id: design: CI tiering for adversarial & benchmark suites (from #5685) #5893/task 12893's documented scope. A new design(id): DoS suite & performance benchmark programme — adversarial CI coverage and per-interface regression gates #5685 packet would duplicate it and re-create the one-big-task problem the decomposition exists to avoid. Confirmation test #1 could be split out as an unblocked authoring slice if a lane wants it, but that split belongs to id: design: CI tiering for adversarial & benchmark suites (from #5685) #5893's owners, not to this umbrella triage.
    • Route: design(id): DoS suite & performance benchmark programme — adversarial CI coverage and per-interface regression gates #5685 stays OPEN as the umbrella; it closes when id: design: CI tiering for adversarial & benchmark suites (from #5685) #5893's confirmations land (via task 12893). Nothing in this remainder is blocked on Drew.
  14. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage verdict — oc-code-07, 2026-11-26

    Verdict: still open; programme umbrella nearly complete, no packet from this pass.

    Re-verified: #5685 OPEN (status/triaged, no holds). Children: #5891 closed, #5892 closed, #5893 OPEN (sole remainder), #5894 closed, #5895 closed, #5896 closed, #5897 closed. #5893 is queue-backed by live blocked task 12893 (CI tiering confirmations). A new #5685 packet would duplicate #5893's scope. Umbrella closes when #5893 lands. No code changed in this pass.

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)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingmode/onlineFully doable remotely: design, config, code, cloudpriority/normalOrdinary priority (the default)source/design-architectFiled by the repo design architect jobstatus/triagedTriaged and routed (see agent note)task/triageQueue packet kind: verify, reproduce, and route this item

    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.