Observability and scale research: metrics, metadata reconnect cost, erasure coding

Open
#187 0 comments 0 reactions 0 assignees View on GitHub

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

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

ready-for-agent

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 /metrics endpoint exporting what status and activity already 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

  • /metrics is scrapeable and off by default or bound only to the tailnet
  • Two ADRs record the measurements and the decisions
  • scripts/check.sh passes

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bmaltais/StartFS

All issues in bmaltais/StartFS

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.