Skip to content
devotionalistPublic

About

Distributed object storage in Rust: Clerk (Raft) control plane, Volume append storage with sync replicas, unified Filer gateway (S3 + HTTP/WebDAV).

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

OpenS3

Language: English · 中文

Distributed object storage in Rust: Clerk (Raft) assigns volumes, Volume appends with sync replicas, unified Filer gateway (S3 + HTTP/WebDAV) with shared metadata.

License: Apache License 2.0

Topology

Admin live topology (client → Filer → Meta / Volume, Clerk Raft on the top row):

OpenS3 topology

After deploy, open http://<filer>:8333/admin/ui for the live view. See Architecture and Clients & gateways.

Documentation

Language Entry
English (default) docs/en/
中文 docs/zh/
Doc English 中文
Quick start quickstart 中文
Install & build install 中文
Architecture architecture 中文
Clients & gateways gateways 中文
Modules modules 中文
Deployment deployment 中文
Kubernetes kubernetes 中文
Configuration configuration 中文
Using S3 s3 中文
Operations operations 中文
Monitoring monitoring 中文
Troubleshooting troubleshooting 中文
Development development 中文
Contributing contributing 中文

Quick start

From source:

cargo build --release
./target/release/opens3 server --dir ./data --max-volume-size-mb 64

# S3:    http://127.0.0.1:8333
# Admin: http://127.0.0.1:8333/admin/ui
# Clerk: http://127.0.0.1:9333

Docker Hub image (Clerk / Volume / Filer share one image):

docker pull jinopen/opens3:0.1.0

Helm defaults to jinopen/opens3:0.1.0 — see Kubernetes.

curl -X PUT http://127.0.0.1:8333/demo
echo hello | curl -X PUT http://127.0.0.1:8333/demo/hello.txt --data-binary @-
curl http://127.0.0.1:8333/demo/hello.txt

For production, enable auth and run split processes — see Deployment and S3 auth.

Features

  • Hot path volume-level replicas (strong writes), cold volumes async EC
  • Clerk persistent Raft (RequestVote / AppendEntries)
  • Under-replica heal, capacity balance, Prometheus metrics
  • S3: SigV4, Multipart, Versioning, Lifecycle, Bucket Policy
  • Apache-2.0

Tests

cargo test --workspace
bash tests/e2e_fault.sh
bash tests/e2e_kill_replica.sh
bash tests/e2e_clerk_failover.sh
bash tests/e2e_seal_ec.sh
bash tests/e2e_multi_s3.sh
bash tests/s3_compat/run.sh

OpenS3(中文)

用 Rust 实现的分布式对象存储:Clerk(Raft)分配卷、Volume 追加存储与同步副本、统一 Filer 网关(S3 + HTTP/WebDAV)与共享元数据。

文档: English · 中文

cargo build --release
./target/release/opens3 server --dir ./data --max-volume-size-mb 64
# S3 http://127.0.0.1:8333 · Admin /admin/ui · Clerk :9333

docker pull jinopen/opens3:0.1.0

完整中文文档见 docs/zh/;镜像与 Helm 见 安装 / Kubernetes。

About

Distributed object storage in Rust: Clerk (Raft) control plane, Volume append storage with sync replicas, unified Filer gateway (S3 + HTTP/WebDAV).

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages