Skip to content

docs: rewrite README to reflect post-consolidation backend scope - #98

Merged
zzylol merged 1 commit into
mainfrom
docs/backend-readme-rewrite
May 7, 2026
Merged

zzylol merged 1 commit into
mainfrom
docs/backend-readme-rewrite

Conversation

@zzylol

@zzylol zzylol commented May 7, 2026

Copy link
Copy Markdown
Contributor

Rewrites README to match the architecture that landed across Step 1, Phase α, Phase β, and Step 2.3. Two-engine architecture (warm sketch + Thanos archive); Where the planner lives section pointing at ASAPCollector controller; new engines/routing layout; current env vars; data_source annotations; What's NOT in this repo enumeration.

The repo is now the backend query engine of the ASAP observability
system, not a standalone Prometheus-front query accelerator. Reflects
the architecture that landed via:

- Step 1 (#95) — engines/{simple,gorilla}/ tier-co-located layout,
  routing/ split out from drivers/, JSONL legacy code deleted
- Phase α (#314 controller, #96 backend) — controller emits
  BackendStorageRouting JSON; backend hot-loads via HTTP push
- Phase β (#315) — asap-planner-rs library's 5 PromQL patterns +
  11 archive-only intents migrated into ASAPCollector controller's
  L3 intent_algebra + L4 sketch_algebra
- Step 2.3 (#97) — ThanosForwardEngine in
  engines/gorilla/thanos_forward.rs; HTTP-forwards archive queries
  to thanos-query for full PromQL surface (Path A2)

Key narrative changes:
- Lead with two-engine architecture (warm sketch tier + archive
  via Thanos), not the single-tier query-accelerator framing
- Explicit "Where the planner lives" section pointing at the
  ASAPCollector controller (was previously asap-planner-rs in
  this repo)
- Repository layout reflects the new engines/{simple,gorilla}/
  + routing/ split
- Configuration via env vars (ASAP_THANOS_QUERY_URL,
  ASAP_GORILLA_S3_*, CONTROLLER_BACKEND_ENDPOINT) matching the
  current code
- Query response infos shows the three data_source values
  (warm / gorilla_archive / thanos_archive)
- "What's NOT in this repo" section enumerates the migrations
  and deletions for reviewers landing here from old docs
- "What's still planned" tracks Phase δ (backend pure executor),
  per-tenant routing, hot-reload signal

Drops: 100x latency reduction headline (was the asap-quickstart
v0.1.0 framing — still true qualitatively but not the lede); the
4-component repo-structure diagram (most of those components
either moved or have changed scope).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@zzylol
zzylol merged commit 7dd4799 into main May 7, 2026
@zzylol
zzylol deleted the docs/backend-readme-rewrite branch May 7, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant