A pure-Rust port of the JuiceFS distributed POSIX filesystem architecture — zero Go runtime,
zero C/libfuse build dependencies, native macOS & Linux support.
--release vs Go JuiceFS 1.4.2)| Operation | juicefs-rs | juicefs-go | Comparison |
|---|---|---|---|
format (sqlite3 + file + lz4) | 0.038 s | 0.085 s | 2.2× faster |
status | 0.036 s | 0.075 s | 2.1× faster |
fsck | 0.036 s | 0.078 s | 2.2× faster |
sync (100 × 128 KiB, 8 threads) | 0.046 s | 0.081 s | 1.8× faster |
vfs put 16 MiB | 0.070 s (~229 MiB/s) | — | End-to-end CLI upload |
vfs get 16 MiB | 0.052 s (~308 MiB/s) | — | End-to-end CLI download |
| Benchmark | Mean Time | Throughput |
|---|---|---|
compression_1mb/compress/lz4 | 58.96 µs | 16.57 GiB/s |
compression_1mb/decompress/lz4 | 30.23 µs | 32.31 GiB/s |
compression_1mb/compress/zstd | 107.75 µs | 9.06 GiB/s |
compression_1mb/decompress/zstd | 35.40 µs | 27.59 GiB/s |
vfs_io/read_64k_file_cached (moka) | 63.20 µs | 988.90 MiB/s |
build_slice_100_overlapping | 7.76 µs | — |
POSIX domain types, 24-byte big-endian slice wire format, interval tree resolution, LZ4/Zstd compression.
Memory, File, S3/OSS/COS/MinIO/B2, GCS, Azure, Prefixed, AES-256-GCM & 64 KiB chunked AEAD encryption, FNV-1a sharding, multipart, restore.
moka concurrent cache, DiskBlockCache (2-Random/LRU), SingleFlight deduplication, Prefetcher, TokenBucket rate limits, async WritebackQueue.
SqliteMeta (WAL) & feature-gated RedisMeta: POSIX tree, flock/plock, dir & user/group quotas, .trash, dirStats, changelog, sessions, clone, dump/load, fsck.
Multi-chunk I/O, sparse holes, POSIX access/ACLs, .stats/.config virtual files, compact_file, symlink loop guard, summary, warmup, tier.
Pure-Rust POSIX FUSE adapter, file-handle table, MountConfig, and cross-platform unmount helper.
Concurrent Semaphore-bounded object sync engine with update, delete-dst, prefix, and dry-run modes.
S3-compatible HTTP gateway over Vfs (ListObjectsV2 XML, GET/Range, HEAD, PUT, DELETE).
WebDAV HTTP server over Vfs (OPTIONS, PROPFIND, GET/Range, HEAD, PUT, MKCOL, DELETE, MOVE, COPY, /metrics).
Lock-free atomic counters and Prometheus/OpenMetrics text exposition.
Full juicefs binary wiring 30+ subcommands for admin, I/O, sync, gateway, webdav, and benchmarks.
cargo build --release -p juicefs-cli
./target/release/juicefs format sqlite3:///tmp/jfs.db myvol --storage file --bucket /tmp/jfs-data --compress zstd
./target/release/juicefs mkdir -p sqlite3:///tmp/jfs.db /docs
./target/release/juicefs put sqlite3:///tmp/jfs.db ./Cargo.toml /docs/Cargo.toml
./target/release/juicefs cat sqlite3:///tmp/jfs.db /docs/Cargo.toml