probe
Ships in
@noy-db/to-meter·pnpm add @noy-db/to-meterNot a backend — a 5-axis benchmark you point at any store.
@noy-db/to-probe is retired. The package is deprecated on npm and receives
no releases. Its two entry points — runStoreProbe() and probeTopology() —
were absorbed into @noy-db/to-meter in 0.4.0-pre.8; import them
from there. A diagnostic that returns no store never fitted the to<Backend>()
store contract, and probing to choose a store then metering to watch it are
one workflow.
import { runStoreProbe, probeTopology } from '@noy-db/to-meter'
| Ships in | @noy-db/to-meter |
| Shape | n/a — diagnostic, returns no store |
| Wraps | any NoydbStore |
What it does
runStoreProbe exercises the 6-method NoydbStore contract across five axes —
write latency, CAS integrity, hydration cost, sync economics, and network
resilience — and produces a structured, risk-scored suitability report for the
roles primary, sync-peer, backup, and archive. probeTopology runs a
setup-time topology check.
Notes
- Each
suitability.risksentry carries a machine-readablecode('slow-write-p99','cas-unsupported', …), aseverity('warn'or'error'), and a human-readablemessage. - Any error-severity risk empties
recommendedentirely;slow-write-p99dropsprimaryandcas-unsupporteddropssync-peer— other warn-level findings are reported without affecting the recommendation. - Doesn't persist anything itself — it's diagnostic tooling, not a storage tier.