Observability and scale research: metrics, metadata reconnect cost, erasure coding
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 15/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- prometheus, rust
- Domain
- observability-sre
Research direction
The metrics work starts from the status and activity computations the daemon already runs; export those values on a Prometheus /metrics endpoint bound to the tailnet or off by default. The two spikes (metadata reconnect cost at 20 members, erasure coding for cold data) are measurement and ADR work, not code to start from, and the erasure spike is blocked by #186. Done means /metrics is scrapeable and both ADRs record measurements and decisions.
Written by the indexing model from the issue text.
Description
What to build
Make the daemon scrapeable, and decide with data whether the two big scale features are worth building.
Commit plan (one commit per seam, tree green after each)
- Prometheus
/metricsendpoint exporting whatstatusandactivityalready compute - Spike: metadata reconnect cost at 20 members with large trees (the compacted log and state transfer already exist); ends in an ADR deciding whether incremental anti-entropy is needed
- Spike: erasure coding for cold data (roughly 4+2, chosen by age or the per-directory policy); ends in a go/no-go ADR
Acceptance criteria
-
/metricsis scrapeable and off by default or bound only to the tailnet - Two ADRs record the measurements and the decisions
-
scripts/check.shpasses
Blocked by
- #186 (the erasure coding spike uses the per-directory policy; the other two commits can start immediately)
- Dominant language
- Rust
- Stars
- 0
- Forks
- 0
- Avg merge
- 56m
- Merged PRs (30d)
- 55
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bmaltais/StartFS
-
enhancement ready-for-agent
Difficulty 5/5 Over a week Newbie friendliness 24/100
Maintainers usually reply within 1 day
-
enhancement needs-triage
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Maintainers usually reply within 1 day
-
ready-for-agent
Difficulty 5/5 Over a week Newbie friendliness 12/100
Maintainers usually reply within 1 day
All issues in bmaltais/StartFS
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jelmer/buildlog-consultant#364 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
solutionscay/skiff#310 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
valkey-io/valkey-large-object#222 ·
Maintainers usually reply within 1 day
-
bug user-priority/P1
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day