talira

A distributed POSIX file system built on top of Redis and S3

open coreApache-2.0self-hostablefree

JuiceFS is a high-performance distributed POSIX file system that keeps file data in object storage (Amazon S3 and 30+ others, local disk or HDFS) and file metadata in a database such as Redis, MySQL, PostgreSQL, TiKV or SQLite. Files are split into chunks, slices and 4 MiB blocks, so thousands of clients can mount the same file system with strong consistency, local caching and compression, and use it through FUSE, a Hadoop-compatible Java SDK, an S3 gateway, WebDAV or a Kubernetes CSI driver. The open source Community Edition is Apache-2.0; Juicedata sells JuiceFS Cloud Service, a hosted version with its own distributed metadata engine at $0.02 per GiB a month, and an Enterprise Edition for on-premises and BYOC deployments that adds RDMA and scales to hundreds of billions of files. It's widely used for AI training data, model storage and big data on Kubernetes.

Ways to install

Package managers

Problems it solves

  • mount an S3 bucket as a shared POSIX file system on hundreds of GPU servers
  • a shared file system for AI training data that many nodes read at once without copying it locally
  • replace an expensive NAS or Amazon EFS with storage built on cheap object storage
  • give Kubernetes pods a ReadWriteMany persistent volume backed by S3
  • Hadoop and Spark jobs need an HDFS-compatible file system on top of object storage
  • store model checkpoints and datasets in one file system across several clouds
  • s3fs is too slow and doesn't support file locking or proper POSIX semantics
  • cache hot data on local SSDs while the full dataset lives in object storage
  • access the same files over POSIX, S3 and WebDAV
  • a distributed file system with strong consistency for many clients writing to shared directories
  • store billions of small files without the metadata falling over
  • a managed distributed file system where I only pay per GiB stored
  • run an on-premises distributed file system with RDMA for a GPU cluster

Features

  • full POSIX compatibility (passes all 8,813 pjdfstest tests)
  • data in object storage (30+ backends, local disk, HDFS); metadata in Redis, MySQL, PostgreSQL, TiKV, SQLite and others
  • Hadoop Java SDK compatible with Hadoop 2.x and 3.x
  • S3 gateway and WebDAV access
  • Kubernetes CSI driver
  • Python SDK
  • strong consistency and close-to-open consistency across clients
  • local metadata and data caching
  • BSD (flock) and POSIX (fcntl) file locks
  • LZ4 or Zstandard compression
View 6 more
  • encryption in transit and at rest
  • trash, snapshots, POSIX ACLs, global and subdirectory quotas
  • Apache Ranger support
  • clients for Linux, macOS and Windows
  • Cloud Service: managed distributed metadata engine, distributed data cache, cross-region replication, web console, Kerberos
  • Enterprise Edition: RDMA, horizontally scaling metadata to 10 million IOPS and 500 billion files

Limitations

  • Files can't be read directly from the object storage bucket: JuiceFS stores them as numbered chunks and blocks2
  • No native FUSE mounting on Windows or macOS: mounts need WinFsp on Windows and macFUSE on macOS3

Ways to run it

Community Edition

You run it, Apache-2.0

free4

Not included

  • active metadata cache invalidation
  • distributed data cache and independent cache cluster
  • RDMA
  • cross-cloud and cross-region replication
  • web console
  • access control and Kerberos
  • professional support

You arrange

  • a metadata engine (Redis, MySQL, PostgreSQL, TiKV, SQLite or another supported database)
  • object storage for the data blocks
  • community support only (GitHub and Discord)

Self-hosting docs

Cloud Service

Hosted by Juicedata

$0.02/GiB/month; free trial45

Only in this edition

  • fully managed distributed metadata engine developed by Juicedata
  • distributed data cache and independent cache cluster
  • active metadata cache invalidation
  • cross-cloud and cross-region replication
  • web console
  • access control and Kerberos
  • professional online support

Not included

  • RDMA

Pricing

Enterprise Edition

You run it, under a commercial licence

volume pricing; from 100 TB; contact sales4

Only in this edition

  • everything in Cloud Service
  • on-premises or BYOC deployment
  • RDMA
  • metadata engine that scales horizontally to 10,000,000 IOPS
  • up to 500 billion files and 4 EB per file system
  • customizable support

You arrange

  • your own data center, private cloud or cloud account

Pricing

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Has official SDKsplan not known

Alternatives

The same job

These do what JuiceFS does.

  1. Amazon FSx for Lustre Accelerate AI, ML, and HPC workloads with the fastest storage for GPU instances in the cloud
  2. Alluxio Compute-side distributed caching for large-scale AI workloads.
  3. SeaweedFS A simple and highly scalable distributed file system
  4. Amazon EFS Serverless, fully elastic file storage
  5. BeeGFS Parallel cluster file system developed with a strong focus on performance and designed for very easy installation and management
  6. Lustre An open-source, distributed parallel file system designed for scalability, high-performance, and high-availability

Compare JuiceFS with the top 3