oprobe OpenDAL operator profiler
Find the OpenDAL fix, then prove it.
oprobe traces every request your OpenDAL operator sends, stage by stage, names one change for each finding, and A/B-tests it before you ship.
Not notarized: how to open it
- On macOS 15 or later: the first time, open System Settings → Privacy & Security and click “Open Anyway”.
- Windows: if SmartScreen stops it, choose “More info”, then “Run anyway”.
oprobe demo -
oprobe prove 20261130-102347-bb72 tail_stragglers
- 3 platforms: macOS, Windows, Linux
- Opt-in online only when you ask
- Apache-2.0 open-source licence
From one run to a proven change
-
Every request, stage by stage
Under each operation, its backend requests split into queue, connect, send, time to first byte, body and retry backoff.
-
One remedy per finding
A finding names its cause and one OpenDAL remedy as an
op.tomlpath, such aslayers.tail_cut. A single run gives no numbers. -
Proved before you ship
oprobe proveruns the current operator and the changed one interleaved, A B A B, and gives the layer diff only when the change is better. -
Profile production
Add the
oprobe-tracelayer to your own operator; the.oprobefile it saves opens like any other run. -
A window or a terminal
oprobewith no command opens the app: a native window when there is a display, the same app in the terminal otherwise, also over SSH. -
Compare runs side by side
Two runs, or the operators of one run, in columns; differences stay a neutral colour, since only
provemeasures a change.
Get started
The script installs the app and the CLI. GitHub Releases also has a Windows .msi and PowerShell script, .deb and .rpm packages, and a CLI-only build for servers and CI.
-
Install (macOS, Linux)
curl -fsSL https://github.com/hxddh/oprobe/releases/latest/download/install.sh | sh -
Profile a misbehaving S3 lab on your laptop: no account needed
oprobe demoShow real output
[Attention] 2.6% of GetObject, 2.4% of PutObject and 2.3% of HeadObject requests wait far longer for the server's first byte than their peers (stragglers). lab://demo · small-files · 8.0 s · run 20261130-102347-bb72 ▲ 1 tail_stragglers (high confidence) 123 GetObject stragglers wait ~261ms for the first byte against ~9.57ms for a typical GetObject; 59 PutObject stragglers wait ~261ms for the first byte against ~9.52ms for a typical PutObject; 18 HeadObject stragglers wait ~260ms for the first byte against ~9.52ms for a typical HeadObject; operation p50 9.71ms · p99 261ms remedy: layers.tail_cut + layers.retry.min_delay — re-issue requests far slower than their peers, after a short retry backoff (TailCutLayer + RetryLayer::with_min_delay) note: each cut request is sent again: more requests per operation, and more bytes when the cut one had started its body next: oprobe prove 20261130-102347-bb72 tail_stragglers 1001.7 ops/s · 56.4 MiB/s · p50 9.71ms · p99 261ms · errors 0.00% full profile: oprobe show 20261130-102347-bb72 --detail · terms: https://github.com/hxddh/oprobe/blob/v9.10.0/docs/concepts.md#glossary -
A/B-test the remedy of the top finding
oprobe prove last
FAQ
Which storage services does it work with?
The common ones are built in: S3, GCS, Azure Blob, OSS, COS, OBS, B2 and WebDAV, plus the local file system, memory and the lab. A build from source with --features all-services adds the rest.
Is it safe to point at real storage?
A run writes only under a fresh oprobe-run-<id>/ prefix and deletes it at the end; a run killed hard can leave it behind.
-
--dry-runprints the plan and sends nothing. -
--read-onlyrefuses every write. -
--max-requests,--max-bytesand--max-durationare hard budgets.
Can I use it as a CI gate?
With care: oprobe is a profiler, not a CI gate, and a profile of shared storage varies from run to run.
-
-o jsonprints one JSON document, and the exit codes are stable. -
oprobe proveexits with code 3 when a change makes the operator worse.