Skip to content

deploy(mvp): single shared gorillas3 cold-archive (6→1) [R1] - #461

Closed
zzylol wants to merge 1 commit into
mainfrom
fix/mvp-shared-cold-archive
Closed

zzylol wants to merge 1 commit into
mainfrom
fix/mvp-shared-cold-archive

Conversation

@zzylol

@zzylol zzylol commented May 27, 2026

Copy link
Copy Markdown
Contributor

R1: single shared gorillas3 cold-archive (6 → 1)

What. The mvp-singlenode b6 agent config ran a gorillas3 cold-tier (TSDB→MinIO) archive processor on all 6 routed pipelines (raw_passthrough + the 5 sketch paths). This collapses them to one shared metrics/cold_archive pipeline, fed via the routing connector's multi-target fan-out so every metric still reaches the cold archive.

Why. The 6 gorillas3 instances — each buffering windowState/TSDB blocks — are the dominant agent-memory cost (drove agent RSS to ~100% of cap even at low cardinality).

Cold coverage preserved. Each routing entry now targets [<sketch>_path, metrics/cold_archive], and default_pipelines includes cold_archive, so the single gorillas3 archives the raw samples for all 6 metrics. accuracy_reduce.py's X-ASAP-Engine: thanos_archive ground truth reads the same TSDB-blocks-on-MinIO this instance writes → no archive_miss. The gorillas3 settings (window_interval, block_format, tsdb_block_duration, bucket/endpoint) are carried over verbatim.

⚠️ DRAFT — not yet validated on a live stack

Config-only change. Before merge, confirm on the mvp-singlenode stack:

  1. accuracy_reduce returns no archive_miss for any of the 6 metrics (cold coverage intact).
  2. The patched routingconnector accepts multi-target pipelines: lists at boot (no boot error).

Scope note: this branch is R1 only — the heap-wiring (emit_heap/item_label) and memory_limiter/OOM changes that co-live in this file in the working tree are intentionally excluded here; they belong to their own PRs.

🤖 Generated with Claude Code

…o 1 shared pipeline (R1)

The b6 5-sketch routing config ran a gorillas3 (cold-tier TSDB archive)
processor on every routed pipeline (raw_passthrough + 5 sketch paths) =
6 instances, each buffering windowState/TSDB blocks — the dominant
agent-memory cost.

Add a single `metrics/cold_archive` pipeline holding the only gorillas3,
and use the routing connector's multi-target support to fan every metric
to BOTH its warm-tier path AND cold_archive (default_pipelines includes
cold_archive too). Cold coverage is preserved for all 6 metrics — the
accuracy harness's `X-ASAP-Engine: thanos_archive` ground truth reads the
same TSDB-blocks-on-MinIO this one gorillas3 writes — collapsing 6
gorillas3 instances to 1.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@zzylol

zzylol commented May 27, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by the mvp-singlenode deletion (this config lives in the deleted tree). Closing; the single-shared-cold-archive idea carries into the asapedge mvp-multinode rewrite.

@zzylol zzylol closed this May 27, 2026
@zzylol
zzylol deleted the fix/mvp-shared-cold-archive branch July 17, 2026 20:08
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