---
title: "Peregrine"
description: "A Rust-first OpenStack Swift rewrite with scoped compatibility evidence, deployment tooling, load generation, and a web console."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.myswift.rs/llms.txt
> Use this file to discover all available pages before exploring further.

# Peregrine

Peregrine is a Rust-first object-storage engineering platform built around a
**ground-up Rust rewrite of [OpenStack Swift](https://github.com/openstack/swift)**.
It targets byte compatibility on implemented, explicitly tested paths. It is an
advanced lab system, not a feature-complete Swift twin or a production drop-in
replacement.

> **Format fidelity over everything**
>
> Swift's correctness lives in its formats: the ring, the account and container
> SQLite databases, the on-disk diskfile layout, pickled hashes, crypto metadata,
> HMAC signatures, and erasure-coded fragment archives. Peregrine uses Python
> Swift as the oracle for scoped golden and live proofs. Consult the strict parity
> matrix before planning any mixed rollout.

## The components

- **swift-rust** — The storage engine — proxy, object, container and account servers, every
consistency daemon, erasure coding, the ring, the SQLite backends, and the
middleware pipeline plus the bounded concurrency runtime. A 16-crate Rust
workspace. [Read more →](/swift-rust)
- **swift-deploy-rs** — A bounded, Python-free deployer that executes the upstream Swift Ansible v3
plan natively — no Ansible — with sealed, re-verified plans and per-action
authorization. [Read more →](/swift-deploy-rs)
- **cosbench-rs** — A Rust rewrite of Intel's COSBench core: an S3/Swift load generator with
prepare / main / cleanup workloads and JSON/CSV reports. [Read more →](/cosbench-rs)
- **autocos** — Benchmark automation over cosbench-rs — submit workloads, track progress,
collect and archive results. [Read more →](/autocos)
- **swift-console** — The web console: a files browser, deploy control, live monitoring, and a
chaos / HA lab, served from a single Rust binary. [Read more →](/swift-console)

## Where to go next

- **Get started** — Build the engine and stand up a single-host cluster in one command.
[Get started →](/getting-started)
- **Architecture** — How the data, control, and test planes fit together. [Architecture →](/architecture)
- **Current status** — Exact candidate provenance, G0-G8 truth, and the production boundary.
[Read status →](/status-2026-08-31)
- **Concurrency runtime** — Async network serving, bounded blocking domains, cancellation, and route
proof. [Concurrency →](/concurrency)
- **Swift API guide** — Native REST semantics, streaming, middleware, and evidence boundaries.
[Swift API →](/swift-api)
- **S3 API reference** — The implemented S3 surface — auth, buckets, objects, MPU, errors, and
the Rust-ahead extras. [S3 API →](/s3-api)
- **Dual-oracle verification** — The strict 57-case harness, the GREEN contract, and the historical 49/8
scoreboard. [Dual-oracle →](/dual-oracle)
- **Production contract** — Historical scoped contract and the current no-go acceptance boundary.
[Production contract →](/production-contract)
- **Testing & verification** — Golden fixtures, functional parity, load, and live HA drills. [Testing →](/testing)
- **Lab cluster** — Four-node Contabo HA topology, EC build rules, and cutover. [Lab cluster →](/lab-cluster)

## Operating it

- **Configuration** — Fail-closed config semantics, the worker model, and every honored knob.
[Configuration →](/configuration)
- **Runbooks** — The slim rolling upgrade, drain hygiene, rollback, and post-change
gates. [Runbooks →](/runbooks)
- **Releases & live binaries** — Which binary generation is live, and the git branch discipline.
[Releases →](/releases)
- **Incidents & freezes** — What broke, what is frozen, and the standing hard boundaries.
[Incidents →](/incidents)

## Status

Source `17adf0b…` includes the Hyper/Tokio async serve path and substantial
Swift, S3, EC, sharding, and daemon work. The strict W070 frozen-179 ledger is
GREEN: W068 contributes 147 replication identities and W069 contributes 32 EC
identities exactly once, with zero unexpected result. G3/current-suite acceptance and G8 are not closed. The
production cluster passed G7. The G7 lab gate is 20/20 PASS on swift1
`:18080` (`tools/test-results/optimize-ae-20261003/verdict.json`, 2026-10-03).
Production `/usr/local/bin/swift-proxy-server` on swift1–4 and hkserver is sha256 `ce738dc3a7adb01167c16660924e79a1e215a3245d5d90bbe682d36b7cfa5696` (`tools/test-results/optimize-ae-20261003/0I-g7-prod.md`, 2026-10-04). The last full production G7 on `http://10.0.0.10:8080` is 20 PASS, 0 FAIL, 0 NOT RUN (`tools/test-results/optimize-ae-20261003/verdict-prod.json`, 2026-10-04). The full yaml is the 20-case run. The production cluster passed G7. Production readiness is GO.

Read [Current status](/status-2026-08-31) before any historical performance,
fleet, or compatibility page. The [strict parity matrix](/parity) defines the
implemented boundary; this documentation does not claim full Swift
compatibility. Production G7 readiness is GO. G8 is not closed.

Licensed Apache-2.0, matching upstream OpenStack Swift.

Source: https://docs.myswift.rs/welcome/index.mdx
