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”.
Output from the getting-started guide Attention
$ oprobe demo
NEXT
  • oprobe prove 20261130-102347-bb72 tail_stragglers
The remedy it names 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)
lab://demo · small-files · 8.0 s1001.7 ops/s · p50 9.71ms · p99 261ms

From one run to a proven 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.

  1. Install (macOS, Linux)

    curl -fsSL https://github.com/hxddh/oprobe/releases/latest/download/install.sh | sh
  2. Profile a misbehaving S3 lab on your laptop: no account needed

    oprobe demo
    Show 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
  3. 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-run prints the plan and sends nothing.
  • --read-only refuses every write.
  • --max-requests, --max-bytes and --max-duration are 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 json prints one JSON document, and the exit codes are stable.
  • oprobe prove exits with code 3 when a change makes the operator worse.