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 — bench(atlas): embed-storage economics — vectors+hash+metadata in Turso, raw content content-addressed (feeds #9084) · Issue #9098 · developing-today/code

bench(atlas): embed-storage economics — vectors+hash+metadata in Turso, raw content content-addressed (feeds #9084) #9098

New issue
Copy link
New issue
Copy link
In progress
In progress
bench(atlas): embed-storage economics — vectors+hash+metadata in Turso, raw content content-addressed (feeds #9084)#9098
Copy link
Labels
effort/lLarge: multi-day or open-ended; expect staged check-insepic/atlas-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)queue/blockedQueue or user escalation statestatus/triagedTriaged and routed (see agent note)

Description

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

Workstream F — Embed-storage economics: vectors in Turso, raw content content-addressed

Parent program: #8983 · Proto design §F · References, does not restate: #9084 (content-addressed plane — its reference-vs-copy-vs-hybrid evaluation and GC design own the general question; this workstream is the Atlas-specific measurement feeding it) and #3125 (Atlas provenance registry / content-addressed extracts — prior art in-domain).

The question (Drew, 2026-11-12)

Can Turso store the embeddings + a content-addressed hash of the value + per-embed metadata, while the raw content lives in the R2 / RustFS / Drive content-addressed system — saving Turso space without R2 costing more than the saving, and without unacceptable latency? This must be tested and confirmed with measurements, not argued.

Context numbers (verified 2026-11-12)

  • Turso Scaler storage: 11 GB of the 24 GB cap used, overages OFF — Turso space is a hard constraint, which is what makes offload valuable.
  • Atlas monolith 7.3 GB; the Snowflake vector table for 107,639 chunks at F32_BLOB(768) is ~331 MB raw — the design must account for what fraction of the 7.3 GB is vectors vs raw content vs FTS before claiming savings.
  • R2 Standard: $0.015/GB-month, egress free.
  • Offload path shape: content in R2 → fallback laptop → later the lab RustFS store (design(pm-stack): self-hosted tier — Kubernetes cluster with multi-TB tiered storage as the largest central store; RustFS/NATS adapter primitives #9087); a hot cache in Turso/D1 for frequently-hit content is part of the design space.

Scope

  1. Composition audit: where the atlas DBs' bytes actually are (vectors / chunk text / messages / FTS / indexes), per store (monolith, 29 topic shards, secret tier).
  2. Prototype + measurement: a representative corpus slice served both ways (content-in-Turso vs hash+reference to R2) — storage delta, $ delta both sides, and latency delta on hydration-heavy queries (get-chunk, expand, with-message), including the hot-cache variant.
  3. Consistency rules: what an embed record may assume about its content reference (immutability, GC interplay — resolved WITH design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084's GC design, not independently), and the failure mode when content is unreachable (degraded result vs error).
  4. Verdict + migration shape: adopt / adopt-for-cold-only / reject, with the numbers; if adopt, the migration is staged per shard class and never a flag day.

Acceptance

  • Research/bench doc merged under doc/ with the composition audit and both-ways measurements (storage, cost, latency).
  • A verdict recorded with evidence, and — if adopt — granular implementation issues filed; the verdict is commented onto design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084 as its Atlas input.
  • No part of this issue settles design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084's general reference-vs-copy question; the cross-reference is explicit in the doc.

Activity

  1. dezren39
    added
    kind/featureNew feature or capability request
    epic/atlas-programReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  2. developing-today commented on Nov 12, 2026

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

    CODE-2801

  3. dezren39
    added a parent issue on Nov 12, 2026
    • epic: Atlas program — unified search and memory index over every corpus #8983
  4. github-actions
    assigned
    dezren39
    on Nov 13, 2026
  5. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Agent note — triaged, task 18846 for issue #9098 (lane any-e)

    • State: triaged (inline, 2026-11-17). Verdict: real and current — a measurement workstream (Atlas program workstream F, parent epic: Atlas program — unified search and memory index over every corpus #8983), not a lane fix. Work kind: kind/feature (already on the issue). Priority: priority/normal. Effort: effort/l.
    • Fresh verification: issue bench(atlas): embed-storage economics — vectors+hash+metadata in Turso, raw content content-addressed (feeds #9084) #9098 is OPEN, no hard-stop labels, no prior triage note. Its constraint premise is consistent with tonight's record (Turso storage is a hard cap with overages off; the atlas monolith and shard layout it cites match the live program state).
    • Route: a bench/research session under parent program epic: Atlas program — unified search and memory index over every corpus #8983 (proto design §F), in the issue's own scope order: (1) composition audit of the atlas DBs' bytes per store (monolith, 29 topic shards, secret tier) — vectors vs chunk text vs messages vs FTS vs indexes; (2) both-ways prototype on a representative corpus slice (content-in-Turso vs hash+reference to R2, plus the hot-cache variant) measuring storage delta, $ delta both sides, and hydration latency (get-chunk, expand, with-message); (3) consistency rules resolved WITH design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084's GC design, not independently; (4) verdict (adopt / adopt-for-cold-only / reject) with the numbers, commented onto design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084 as its Atlas input, and granular implementation issues filed if adopt.
    • First concrete step: the composition audit — it is measurable today against the live stores and it gates every savings claim in the later steps (the issue's own warning: account for what fraction of the 7.3 GB is vectors vs raw content vs FTS before claiming savings).
    • Acceptance check (from the issue): research/bench doc merged under doc/ with the audit and both-ways measurements; verdict recorded with evidence and cross-posted to design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084; design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084's general reference-vs-copy question explicitly NOT settled here.
    • Why no queue packet: the queue validator has no research/bench packet kind; the tracked next action is the bench intake named above under epic: Atlas program — unified search and memory index over every corpus #8983. Labels: status/triaged + priority/normal + effort/l added.
  6. dezren39
    added
    status/triagedTriaged and routed (see agent note)
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    on Nov 17, 2026
  7. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged — task 20297 (lane any-o)

    • Fresh state checked 2026-11-17: bench(atlas): embed-storage economics — vectors+hash+metadata in Turso, raw content content-addressed (feeds #9084) #9098 remains OPEN, assigned to Drew; existing status/triaged and the task 18846 disposition remain present.
    • Reusing task 18846's verified routing: this is an Atlas measurement/research workstream under epic: Atlas program — unified search and memory index over every corpus #8983, not a lane fix. The existing note records the composition audit, measurement route, dependency on design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084's GC design, and acceptance.
    • No duplicate follow-on packet or label transition is needed.
  8. dezren39
    removed their assignment
    on Nov 20, 2026
  9. dezren39
    added 2 commits that reference this issue on Nov 23, 2026

    test(atlas-search): D1 hot-cache measurement report tests, failing fi…

    8318717

    impl(atlas): D1 hot-cache measurement report for the economics protot…

    e15a51c
  10. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Agent note — second pass, task 21954 (lane any-n, 2026-11-24)

    • Verdict: real and current, not resolved. bench(atlas): embed-storage economics — vectors+hash+metadata in Turso, raw content content-addressed (feeds #9084) #9098 is OPEN (kind/feature priority/normal effort/l status/triaged epic/atlas-program), acceptance checkboxes unchecked, no bench/composition doc merged under doc/. Fresh triage notes (tasks 18846/20297) still describe the live state.
    • Duplicate sweep: no other actionable queue item references bench(atlas): embed-storage economics — vectors+hash+metadata in Turso, raw content content-addressed (feeds #9084) #9098 (repo-health-code-pilot queued/claimed/parked/blocked + code, code-pilot, nix/openchamber/opencode pilot queues checked). This task is the only coverage.
    • Dependency check: design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084 (content-addressed plane) is OPEN status:in-review with its design doc merged (doc/2026-11-23T03-04-00Z_design_content-addressed-media-data-plane/), so the audit slice can reference it; the both-ways prototype and GC-consistency rules stay later slices. Parent epic epic: Atlas program — unified search and memory index over every corpus #8983 OPEN.
    • Routed: feature_slice S1 — task 22915 (repo-health-code-pilot, band 70): per-store byte-composition audit (monolith, 29 topic shards, secret tier — vectors / chunk text / messages / FTS / indexes) merged as a bench doc stating the vector-vs-content-vs-FTS fractions with traceable methods. Both-ways prototype + verdict to be routed after S1 lands.
    • Tracking: Queue reprioritization programme 2026-11-24: full census, reorder, unblock #14158 (coverage reconciliation pass 2).
  11. dezren39
    added 2 commits that reference this issue on Nov 25, 2026

    docs(atlas): audit embed storage composition for #9098

    2179c8c

    Merge pull request #15064 from developing-today/fleet/agent-next-20-l…

    79602ed
  12. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026
    MemberAuthor
    More actions

    Progress — #9098 slice 1 merged: PR #15064 landed at 79602ed85e114f690c64f6f00512cbe3a9312e13. The audit report and aggregate measurements cover the live monolith, all 29 topic stores, and both tier content stores. The monolith has 7,278,391,296 allocated bytes; measured vector and vector-index payload is 6,329,625,792 bytes (86.96%), chunk and message text 639,187,867 bytes (8.78%), measured FTS payload 64,704,278 bytes (0.89% lower bound), with 244,873,359 bytes (3.36%) left as residual pages. B-tree index page allocation is not exposed separately by the hosted SQL interface, so the report does not guess an index-only number.

    The parent acceptance item remains open for the later two-way prototype and storage, cost, and hydration-latency measurements. Next slice after this PR: compare content-in-Turso with hash-and-reference-to-R2 on a representative corpus slice, include the hot-cache variant, and report the results as input to #9084 without settling its general reference-versus-copy question.

  13. developing-today-fleet
    added 2 commits that reference this issue on Nov 27, 2026

    docs(atlas): bound raw-text storage economics (#9098)

    b665a30

    Merge pull request #15832 from developing-today/fleet/agent-next-21-l…

    1d7a6b1
  14. developing-today
    added
    queue/queuedHas a queued queue task
    on Nov 27, 2026
  15. developing-today commented on Nov 27, 2026

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

    Triage follow-up: #9098 remains open with the two-way hydration benchmark still outstanding.

    The composition census from PR #15064 is followed by the storage-bound slice in PR #15832, merged as 1d7a6b1a5fc4b45b170de59e3b485d465771d75e. From the measured raw-text columns, offloading every copy could free up to 1,277,693,028 bytes in Turso. The R2 unique-object upper bound is 1.278 GB. At the current Standard rate, that rounds to 2 GB-months and $0.03/month if the free tier is exhausted; with the full 10 GB-month allowance available, storage cost is $0. Under the issue's 11 GB / 24 GB snapshot and overages-off setting, this frees capacity and does not reduce the monthly invoice.

    Fleet run 45920501158 ran the slice check on main 1589e68d4349d307c739ca092d3ae8fb5173716e: 3 tests passed and the calculator produced the report result. No raw content was read; this slice does not measure hash deduplication, R2 request costs, or hydration latency.

    Task #25795 is queued for the next slice: compare Turso with the R2 reference path on a fixed sample and report storage, request cost, and p50/p95 for get-chunk, expand, and with-message, including the hot-cache path. The general reference-versus-copy decision remains with #9084.

    queue/queued matches task #25795; #9098 remains open for the benchmark and final evidence-backed verdict.

  16. developing-today-fleet commented on Nov 27, 2026

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

    Progress — #9098 live hydration benchmark revalidated: PR #15927 remains open and provides the synthetic harness, but the live comparison cannot run through the available Fleet runner yet. The current Fleet secret inventory has no designated read-only token for the Atlas database. The R2 account has no disposable test bucket; atlas-ledger-snapshots is the only Atlas bucket and is not suitable for benchmark writes. Fleet Actions dispatch has no secure runtime secret injection option, and Fleet reports laptop and Codespace targets unreachable. I did not read Atlas rows or modify any bucket.

    Task #25795 is parked until a Fleet-compatible execution path can receive a designated read-only Turso credential and access a disposable non-production R2 test binding or bucket. Resume with the existing synthetic harness and measure the fixed sample, recording hashes, byte counts, operation counts and timings only. Keep #9084's general reference-versus-copy decision unchanged.

  17. developing-today-fleet
    added
    queue/blockedQueue or user escalation state
    and removed
    queue/queuedHas a queued queue task
    on Nov 27, 2026
  18. developing-today-fleet
    added a commit that references this issue on Nov 27, 2026

    Merge pull request #15927 from developing-today/oc-code-07/9098-hydra…

    a9432aa
  19. developing-today-fleet commented on Nov 27, 2026

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

    Revalidation (2026-11-27): The synthetic hydration harness and report contract are now merged in PR #15927 (merge commit on the #9098 issue thread). Its report is explicitly synthetic; it does not claim live Turso/R2 measurements. The live benchmark remains unrun: current Fleet targets still report laptop and Codespace unreachable, the secret inventory has no credential designated for read-only Atlas benchmark access, and there is no designated disposable non-production R2 test bucket/binding. I did not read Atlas rows, create or write to any bucket, or expose credentials.

    Task 25795 is parked until a Fleet-compatible runtime can use a designated read-only Turso credential and isolated non-production R2 test binding/bucket. Then resume the existing merged harness for the fixed sample, recording only hashes, byte counts, operation counts, and timings. #9084's reference-versus-copy decision remains unchanged.

  20. developing-today-fleet commented on Nov 27, 2026

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

    agent-note:v1
    state: parked
    task: 25795 · lane: oc-code-03 · worker: repo-worker-code
    origin: openchamber-scheduled-lane

    Revalidated 2026-11-27 ~08:00Z: synthetic harness merged (PR #15927, merged 05:40Z; report doc confirms process-local timings only, no live claims). Live venue still absent: secret inventory has Turso/R2 names but none designated read-only-for-benchmark, no disposable non-production R2 test bucket (atlas-ledger-snapshots is the only Atlas bucket, unsuitable), and this lane has no Fleet-compatible secure runtime injection for either. No Atlas rows read, no bucket touched, no credentials exposed.

    Parked with resume condition (venue, not a person): designated read-only Turso credential + disposable non-production R2 test binding/bucket in a Fleet-compatible runtime. Then resume with the merged harness on the fixed sample, hashes/counts/timings only.

  21. developing-today-fleet commented on Nov 27, 2026

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

    agent-note:v1
    state: parked
    task: 25795 · lane: code-j · worker: repo-worker-code
    origin: openchamber-scheduled-lane

    Revalidated 2026-11-27 ~08:50Z: #9098 still OPEN, no activity since the 07:57Z parked note; harness PR #15927 still merged (in main, absent from stale local checkout). Live venue still absent: names-only secrets check shows no designated read-only Turso test credential and no disposable non-production R2 test binding (existing Turso/R2 names are production/internal-scoped and must not be used); Actions exec documents only its own outbox R2 egress, no benchmark secret injection; laptop shell leg unreachable at enroll. No prod data touched, no implementation.

  22. developing-today-fleet commented on Nov 27, 2026

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

    code-g re-verify 15:55Z (task 25795): live venue still absent — names-only secrets check shows no designated read-only Turso test credential and no disposable non-production R2 test binding (Turso names all internal-scoped, R2 names production/backup-scoped). Synthetic evidence refreshed at main tip b4d27b8: done_check exit=0 (sample 128, runs 30, cache both, local in-memory harness, no prod touch) and hash-equivalence oracle 5/5 pass. No implementation, no prod data touched. Re-parking on venue.

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

    effort/lLarge: multi-day or open-ended; expect staged check-insepic/atlas-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)queue/blockedQueue or user escalation statestatus/triagedTriaged and routed (see agent note)

    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.