1. The Two-World Problem in AI Infrastructure

Every production ML platform hits the same architectural wall: upstream data lakes, Spark/Flink ETL pipelines, and labeling tools speak Amazon S3 (boto3, aws-cli, rclone), whereas downstream GPU training frameworks (PyTorch, DeepSpeed, Megatron-LM, Ray) expect POSIX file paths, directory listings, pread(), and shared ReadWriteMany mounts.

  • Ceph (RGW + CephFS): Completely separate namespaces and data pools—forcing cron-driven rsync copies that double raw NVMe spend and congest east-west bandwidth.
  • Object-Backed FUSE Wrappers (JuiceFS / s3fs): Convenient in cloud, but 10–50 ms object-store median latency starves high-density GPU clusters.
  • Legacy S3-over-POSIX Gateways: Translating flat S3 key prefixes onto legacy Ext4/XFS directory locks collapses under high concurrency.

2. Single Source of Truth: Peer Frontends Over One Core

In RustStorFS, neither S3 nor POSIX is bolted on as a second-class translator. Both the S3 Object Storage Gateway (s3s + Hyper 1.x) and every POSIX interface (fuse-uring, Kubernetes CSI RWX, Micro-pNFS RFC 8435, and native PyO3) are peer frontends speaking to the exact same MDS Inode Table and DataNode 64 MiB chunk pool:

  S3 Clients (boto3, Spark, aws-cli)      GPU Pods (PyTorch PyO3, FUSE, CSI RWX, pNFS)
                  │                                            │
                  ▼                                            ▼
     ruststorfs S3 Gateway (HTTP/REST)            ruststorfs FUSE / pNFS / Native SDK
                  └────────────────────┬───────────────────────┘
                                       ▼
                Unified RustStorFS Client Core (1 Namespace · 1 Inode · 1 Chunk Pool)
                                       │
                  ┌────────────────────┴───────────────────────┐
                  ▼                                            ▼
         MDS (64-Shard In-Memory)               DataNodes (io_uring + ParallelRaft + LZ4/EC)

3. Atomic Consistency Across Protocols

When a data engineer completes a PutObject or CompleteMultipartUpload in bucket s3://training-corpora/imagenet/batch_01.tar, the gateway commits standard Inodes and XXH3-64 ETags directly into MDS Raft WAL. Within the next millisecond, a Kubernetes PyTorch pod mounting the same volume via CSI RWX opens /mnt/training-corpora/imagenet/batch_01.tar at full NVMe Direct I/O speed—with zero staging jobs, zero duplicated terabytes, and full WORM snapshot immutability for training reproducibility.

Deploy the Kubernetes CSI + PyTorch DDP Kit.

Explore our Apache-2.0 Helm Chart, RWX StorageClass, and Grafana Multi-Tenancy Dashboard.