Capacity Planning
318 words1 min read4 subsectionsFrom the README at ft 0.15.21
On this page4
Provisional sizing hypotheses gathered from operator practice and the perf substrate. They are inputs to measurement, not qualified upper bounds. In particular, the 100/200-pane memory rows are synthetic benchmark-lane budgets, and per-pane disk volume depends directly on output rate and retention.
Per-pane resource footprint (defaults)
- CPU planning target: ~50 µs per pane per idle benchmark tick (poll + delta check); remeasure the production path on the deployment host.
- Hot-scrollback model: ~200 KB per 1000 representative lines.
- Warm-scrollback model: ~40 KB per 1000 representative lines at the assumed 5:1 compression ratio.
- Disk planning example: ~10 MB/day for the declared compressed-delta + FTS5 workload; this is not a per-pane production upper bound.
Fleet sizes
| Fleet size | Recommended poll_interval_ms |
Memory envelope | Native push events | Distributed mode |
|---|---|---|---|---|
| 1–10 panes | 200 (default) | planning budget: ~50 MB | optional | not needed |
| 11–50 panes | 200–300 | provisional extrapolation: ~100 MB | recommended | not needed |
| 51–200 panes | 300–500 | synthetic benchmark budget: ~200 MB | required | optional |
| 200+ panes | 500–1000 + per-pane priorities | target-class artifact required (see target hardware) | required | recommended (split across aggregators) |
What each default feature buys
All of these are on in a default ft build (feature matrix); keep them in a --no-default-features build only where they apply:
semantic-search: the hash-embedding lane behind semantic and hybrid search. It is model-free, so the cost is an embedding row per segment rather than a resident model.web: wiringftinto a non-CLI tool (dashboard, webhook router, downstream service).distributed: an agent fleet that spans multiple hosts.mcp: integrating with MCP-aware agent hosts.ftui: an in-terminal dashboard.
Tuning knobs
The full docs/tuning-reference.md catalogs every [tuning.*] key with default, unit, validation guard, and provisional starting ranges for 10/50/200+-pane workloads. The most commonly tuned:
[ingest].max_concurrent_captures— bounds per-tick capture parallelism (default 10)[tuning.search].default_limit/max_limit— default and maximum search result counts[tuning.patterns].bloom_false_positive_rate— anchor prefilter false-positive rate (0.001–0.2, default 0.01)
Unknown [tuning.*] keys are ignored rather than rejected, so check a key against the reference before relying on it.