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 — research(atlas): CDC feasibility at embedding scale — FastCDC with ~512-token targets vs the span approach · Issue #6040 · developing-today/code

research(atlas): CDC feasibility at embedding scale — FastCDC with ~512-token targets vs the span approach #6040

New issue
Copy link
New issue
Copy link
Closed
Closed
research(atlas): CDC feasibility at embedding scale — FastCDC with ~512-token targets vs the span approach#6040
Copy link
Assignees
dezren39
Labels
area/infraInfrastructure, deployment, and operationseffort/mMedium: expected under 1 day of workepic/atlas-programReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)status:donetask/triageQueue packet kind: verify, reproduce, and route this item
Milestone
Atlas program

Description

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

Parent: #6028 (delta-only ingestion + offset embeds). Research source: prior-art doc ~/workspace/scratch/atlas-ingestion-brief-2026-11-04/prior-art-research.md (2026-11-04). Follow-up 7 (Cluster 1).

Finding (research, in substance)

Content-defined chunking (LBFS Rabin fingerprinting; FastCDC, Xia et al. USENIX ATC '16 — Gear hash, ~10× Rabin at equal-or-better dedup; restic uses Rabin CDC at 512 KiB–8 MiB) is proven for backup-scale chunks. The research verdict is that CDC is the wrong engine at embed scale: backup CDC targets ~1 MiB chunks while embedding chunks are ~1–2 KB (min/max constraints dominate, dedup bought is small), and CDC cannot fix vector drift — it aligns bytes, not vectors. A controlled experiment also showed CDC fragility under structural shift (+15-byte insertion invalidated 57% of 64 KiB FastCDC chunks). This follow-up exists to verify that verdict on our corpus before the span design forecloses it.

Scope

  • Run FastCDC with ~512-token targets over a real corpus slice; measure dedup ratio + boundary stability across versions vs the span/rsync approach.
  • Confirm or refute the scale-mismatch verdict with our numbers; record the decision either way.

Done looks like

A short feasibility report + an explicit adopt/reject decision recorded for CDC at the embed layer (CDC at the storage/blob layer remains a separate, still-open hybrid option).

Activity

Next
  1. dezren39
    added
    area/infraInfrastructure, deployment, and operations
    kind/designA design proposal (design-architect): multi-step, phased, decision-bearing
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

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

    CODE-1705

  3. 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
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane code-q
    • Session / ID: task 10406
    • Found via: queue claim
    • Task: Triage of issue research(atlas): CDC feasibility at embedding scale — FastCDC with ~512-token targets vs the span approach #6040 — research(atlas): CDC feasibility at embedding scale
    • Expectation: Triage complete; the feasibility experiment itself is the follow-on work, not this task.

    Triage findings (verified fresh 2026-11-05):

    • Issue research(atlas): CDC feasibility at embedding scale — FastCDC with ~512-token targets vs the span approach #6040 is OPEN, labels at claim were task/triage, queue/queued, area/infra, kind/design — no hard-stop labels (held, user/owned, do-not-merge, do-not-auto-edit).
    • This is a bounded research/feasibility ticket, not a bug fix: run FastCDC with ~512-token targets over a real corpus slice, measure dedup ratio + boundary stability across versions vs the span/rsync approach, and record an explicit adopt/reject decision for CDC at the embed layer.
    • Context: parent issue design(atlas): delta-only ingestion + offset embeds — land only changes; span-anchored chunks with non-doubling joins #6028 (delta-only ingestion + offset embeds). Prior-art research already leans "wrong engine at embed scale" (backup CDC targets ~1 MiB vs ~1-2 KB embed chunks; CDC aligns bytes not vectors; +15-byte insertion invalidated 57% of 64 KiB FastCDC chunks in a controlled experiment) — this ticket exists to verify/refute that verdict on our corpus before the span design forecloses it. CDC at the storage/blob layer remains a separate, still-open hybrid option and is out of scope here.
    • "Done" is well-defined in the body: a short feasibility report + the recorded adopt/reject decision. No code change, PR, or closure is warranted from triage; the experiment is sized as its own execution task.
  5. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 5, 2026
  6. github-actions
    assigned
    dezren39
    on Nov 5, 2026
  7. developing-today commented on Nov 8, 2026

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

    🤖 Agent note · handed off

    • Agent: repo queue worker, lane code-u (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-u run 2026-11-07 23:04 CST; task 12456
    • Found via: queue claim · task 12456
    • Task: task 12456 for issue research(atlas): CDC feasibility at embedding scale — FastCDC with ~512-token targets vs the span approach #6040 (triage). Fresh check: issue research(atlas): CDC feasibility at embedding scale — FastCDC with ~512-token targets vs the span approach #6040 is OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit). Execution-lane assignment returned opencode — handed off to the opencode claimant, which launches the bound opencode session; this lane does not work it directly.
    • Expectation: claimant session drives task 12456 to a terminal state. Attempts 2/3.
    • Links: task 12456 · issue research(atlas): CDC feasibility at embedding scale — FastCDC with ~512-token targets vs the span approach #6040
  8. 52 remaining items

  9. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    Released to the queue under Drew's 2026-11-13 unblock-all order (main chat, 23:53 CT). Task(s) 15258 moved from blocked/parked to queued in the fleet unblock-all pass (worker main-unblock-all-2026-11-13). Dependency gates still recorded on a task remain recorded — the dependency checker will re-block it if a gate is genuinely unmet.

  10. developing-today
    added
    status:in-review
    on Nov 14, 2026
  11. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 14, 2026
  12. dezren39
    added a commit that references this issue on Nov 14, 2026

    Merge pull request #9972 from developing-today/queue/15258-6040-cdc-f…

    c406bc5
  13. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 14, 2026
  14. developing-today
    closed this as completedon Nov 14, 2026
  15. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    agent-note:v1
    event: done
    task: 15258 (repo-health-code-pilot, lane code-d)
    state: done — experiment run, decision recorded, report merged (PR #9972, merge c406bc5)

    The feasibility experiment this issue asked for has finally been run (after several triage-only passes since 2026-11-05). Full report: doc/2026-11-14T12-20-00Z_research_atlas_cdc_feasibility_6040/ on main — README (report + decision), cdc_experiment.py (stdlib-only, deterministic, self-checking), experiment-output.txt (the run as recorded).

    Method in one paragraph: FastCDC (Gear hash, normalized chunking, min 1024 / avg 2048 / max 8192 bytes — ~512-token targets) vs fixed 2048-byte blocks vs span-anchored packing (the #6028 approach), over this repo's doc/ + planning/ Markdown (651 files, 16,804,740 bytes), under simulated revisions (15-byte insertions; ~200-byte rewrites).

    Findings:

    • Within-corpus dedup at ~2 KB chunks: 0.000 for every chunker — no duplicate chunks exist to buy back.
    • Insertions (byte-weighted reuse): span 0.546 >= fastcdc 0.521 >> fixed 0.000.
    • Rewrites (byte-weighted reuse): span 0.754 ~ fixed 0.755 > fastcdc 0.671.
    • Sanity anchor (one 1.2 MB document, one 15-byte insertion): fastcdc reuse 0.998 — the implementation resyncs correctly; the corpus numbers are the small-document regime the embed layer actually lives in.

    Decision: REJECT CDC (FastCDC) at the embed layer; the span-anchored approach of #6028 stands — confirming with our own corpus numbers the prior-art verdict this issue was filed to verify. CDC at the storage/blob layer remains a separate, still-open hybrid option, explicitly not decided here.

    Closing this issue as completed: its Done criteria (a short feasibility report + an explicit adopt/reject decision recorded for CDC at the embed layer) are met by PR #9972.

  16. dezren39
    added
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

area/infraInfrastructure, deployment, and operationseffort/mMedium: expected under 1 day of workepic/atlas-programReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)status:donetask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    • Atlas programNo due date

    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.