sonde S3 traffic recorder

See what your program actually does to S3.

Run a program through sonde to read its S3 requests as operations: what stands out, what it costs, and whether it survives store faults.

A sonde run of a SlateDB program on the built-in demo: its 467 ms split into the program’s own time and S3 round trips, 172 requests, a chart of requests in flight, and the operations, each with what came before it.
sonde’s desktop app on a built-in demo run, from its repository. Captured at v31.0.0

From one run to findings

Get started

GitHub Releases has terminal binaries for Linux, macOS and Windows, and the desktop app as a macOS .dmg, a Linux tarball and a Windows zip. On Linux the binary needs glibc 2.35 or later, or the static build the script picks.

  1. Install the terminal binary (Linux, macOS)

    curl -fsSL https://raw.githubusercontent.com/hxddh/sonde/main/install.sh | sh
  2. Take the tour on a built-in store

    sonde run --demo
  3. Record your own program

    sonde run -- python etl.py

FAQ

Do I need to change my code?

Usually not. sonde run points the program at a local endpoint with AWS_ENDPOINT_URL and re-signs each request with your real credentials.

  • CI tests boto3, the AWS SDKs for JavaScript v3, Go v2 and Java v2, the AWS CLI and polars.
  • sonde sets up Spark, Flink, rclone, the DuckDB CLI and docker run commands itself.
  • When nothing reaches it, it says how to point that program’s client at it.
Which stores does it work with?

Any S3-compatible endpoint.

  • Among them: AWS, Cloudflare R2, MinIO, Ceph RGW, Aliyun OSS, Tigris, Backblaze B2, Wasabi and Google Cloud Storage’s XML API.
  • A replay ends with what the program relies on, such as checksums, conditional writes and ranges, and how that store answers each.
  • sonde endpoints test --probes runs all 52 compatibility probes on an endpoint.
Can it read production traffic?

Yes, without running it through sonde: sonde import reads S3 access logs, CloudTrail and HAR files as operations, with the same findings (CloudTrail has no timings). That is how to read a job on Kubernetes or serverless.