Skip to content

research(atlas): benchmark harness — D1 vs R2 vs laptop redb vs laptop Turso, shards x growth #9133

Open
6 of 7 issues completed

Description

@dezren39

Program #9106 (extensible primitives / federation / namespaces), Drew directive 2026-11-12 18:29 CST.
Parent: #9109.

§2 (1-3, 16). Latency/characteristic benchmarks across D1, R2, laptop redb, laptop Turso — at various shard levels AND as databases grow (size is a dimension, not a fixed fixture), reporting economics (cost per tenant / per query shape) alongside latency. Named oracle: the harness + dataset generator are the deliverable; results feed C2/C3 and Atlas #9092's shard benchmarks (coordinate, don't duplicate). Acceptance: evidence-backed research note merged under doc/ and linked from the parent epic, with a recommendation the sibling designs can build on; open questions recorded, not silently settled.

Acceptance criteria

  • A benchmark harness covering D1 vs R2 vs laptop redb vs laptop Turso across shard counts and database growth is built and runnable, with its location recorded on this issue.
  • Benchmark results for the named matrix are recorded on this issue or in a linked record under doc/.
  • The harness names its oracle: the workload, dataset sizes, and metrics each comparison reports.
  • Findings that bear on tenant store placement are cross-linked to research(atlas): tenant store placement — in-D1 vs SQLite files synced to S3/R2 #9135.

Sub-issues

Sub-issues

6 of 7 Issues completed
Loading 7 sub-issues

Activity

  1. added
    kind/design
    epic/atlas-program
    on Nov 13, 2026
  2. developing-today commented on Nov 13, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    state: triaged
    lane: any-b, worker: repo-worker-code, task 18877

    Triage verdict for #9133 (checked fresh this shift, 2026-11-17): design half delivered by the summit; the measurement half is already filed as granular issues under their own lineage — no new follow-on needed.

  4. 2 remaining items

  5. added
    status/in-progress
    on Nov 17, 2026
  6. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    state: picked-up
    lane: code-h, worker: repo-worker-code, task 20328

    Revalidating the existing triage verdict and its linked work against fresh GitHub state; no implementation changes planned unless the existing disposition is stale.

  7. removed
    status/in-progress
    queue/claimed
    work/assigned
    on Nov 17, 2026
  8. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    state: done
    lane: code-h, worker: repo-worker-code, task 20328

    Closed queue task as already_done: the existing triage verdict is present, and fresh checks confirm the measurement work remains tracked under its linked issue lineage. No code changes or new follow-on were needed.

  9. removed their assignment
    on Nov 20, 2026
  10. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    Contributor

    Agent note — triage (queue task 24747, lane any-n, 2026-11-26)

    State: triaged. No packet.

    Fresh state: #9133 OPEN (kind/design, epic/atlas-program), unchanged in substance since the 2026-11-17 verdicts (tasks 18877, 20328). Progress since: adapter issues #10153/#10162/#10163/#10164/#10165 and local-evidence #10188 are all CLOSED; only cloud-evidence run #10187 remains OPEN under its own lineage. #9133 stays OPEN as the research home until #10187 lands its measured results. No new follow-on needed.

  11. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    🤖 Census note · lane CEN-C07, 2026-11-29 full issue census (firsthand recheck)

    Verdict: blocked — research home waiting on exactly one evidence run, #10187.

    State: the design half was delivered by the summit: doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/ holds benchmark-plan.json (workload mapped to D1 SQL / R2 API / redb / Turso SQL; shard counts 1/4/16/64; DB sizes 10 MB/1 GB/8 GB), the workload oracle, and the part-c research note (S2.1–S2.3, S2.16) — explicitly design-only, no timings measured. The measurement lineage is nearly complete: #10153 (schema + synthetic oracle), #10162 (D1 adapter), #10163 (R2 adapter), #10164 (redb adapter), #10165 (Turso adapter), and #10188 (local laptop redb/Turso evidence) are all CLOSED.

    Blocker: #10187 (cloud-backed D1/R2 evidence run) is the sole remaining item; this issue's acceptance (evidence-backed note with a recommendation siblings can build on) completes when #10187's measured results land and are written back here. Note the coordination fence in the body: search/shard recommendations stay with #9092 — this issue supplies the harness + cross-store economics, not the shard verdict.

    Census actions: added priority/normal (was unlabeled for priority; it feeds #9109 Part C and #9092). Labels otherwise sane.

  12. added
    priority/normal
    on Nov 29, 2026
  13. added
    priority/low
    status/needs-triage
    and removed
    priority/low
    on Nov 29, 2026
  14. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix): full recheck of this issue — body, all 6 comments, labels, and native blocked_by edges read firsthand; blocker states verified live today. A census note from lane CEN-C07 is already on this issue today; per Drewry's order I rechecked everything firsthand anyway — this comment is my own record and lists only what I verified or changed.

    STRENGTHS

    • concise body (722 chars) naming the scope and parent programme; 6 comments of working history, latest 2026-11-29.

    GAPS

    • carried two priority bands (priority/normal, priority/low); no explicit acceptance criteria in the body (tracker/starter pattern — see REMAINS).

    FIXES I APPLIED

    • removed duplicate priority/low — the issue carried two priority bands (priority/normal, priority/low); kept priority/normal (the higher band, per Drewry's lower-number = higher-priority scale)

    REMAINS

  15. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Second-pass census note (group code-09101-09459 audit). A first census note from lane CEN-C07/CEN-C08 is already on this issue today; this pass re-verified the live state, labels, body, and newest comments firsthand and applied the residual fixes below — it does not repeat the earlier note's verdict or blocker record, which stand.

    Gaps found: No status/lifecycle and no app/area label; no effort/*; no acceptance section.

    Strengths found: Detailed, self-contained body with named parent/source and scope; a first census note from lane CEN-C07/CEN-C08 is already on this issue today (2026-11-29) with a firsthand verdict and blocker record, re-verified live by this pass.

    What this pass did: Labels: added status/needs-triage; removed none. Appended a ## Acceptance criteria section to the body (original text unchanged), formalising the acceptance seed/scope already stated in the body.

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

    epic/atlas-programkind/designpriority/normalstatus/needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions