Compute-side distributed caching for large-scale AI workloads.
open coreApache-2.0self-hostablefree
Alluxio is a distributed caching layer that sits between compute (GPU clusters, query engines) and object storage such as Amazon S3, Google Cloud Storage, Azure Blob Storage and HDFS: it caches hot data on the compute nodes' memory, NVMe or SSD and presents every mounted store as one namespace, without moving or copying the source data. The enterprise Alluxio AI edition has a master-less architecture in which workers own metadata by consistent hashing (with etcd for membership), serves the cache over POSIX (FUSE), an S3-compatible API and Python FSSpec, and speeds up model training, checkpointing and model-serving cold starts for PyTorch, Ray and vLLM; Alluxio DA accelerates Spark, Trino and Presto analytics. It deploys with a Kubernetes operator or Docker. Alluxio began as Tachyon at UC Berkeley's AMPLab; the Apache-2.0 open source edition, aimed at analytics and free without support, has had no release since 2024, while Alluxio, Inc. sells the Enterprise editions.
Problems it solves
- our GPUs sit idle waiting for training data to load from S3
- cache training datasets on the GPU nodes' local NVMe so every epoch doesn't re-read object storage
- loading model weights from object storage makes inference cold starts take minutes
- speed up writing model checkpoints to S3 during large training runs
- read data from S3, GCS and HDFS through one file system path without copying it
- mount an S3 bucket as a fast POSIX file system for PyTorch data loaders
- cut cloud egress costs when compute in one region or cloud reads data stored in another
- speed up Spark, Trino and Presto queries over data lakes in object storage
- serve the same cached data over POSIX, an S3 API and Python fsspec
- a hybrid cloud setup where on-prem GPUs read cloud object storage at local speed
Features
- distributed cache on compute nodes' memory, NVMe, SSD or HDD (4 MiB pages by default)
- unified namespace mounting S3, GCS, Azure Blob Storage, HDFS and other under-file systems
- POSIX access through Alluxio FUSE, an S3-compatible API and Python FSSpec
- master-less architecture: workers own metadata by consistent hashing; etcd for membership and the mount table (Enterprise AI)
- cache preload and eviction jobs scheduled by a coordinator
- FUSE client falls back to the under-file system when a worker is down
- write-back cache for checkpoints (needs FoundationDB)
- Kubernetes operator or Docker deployment
- audit logging, Kerberos, Apache Ranger or OPA authorization, encryption at rest, TLS
- Java file system API and HDFS-compatible client (open source edition)
View 1 more
- 24x7 support and emergency patching (Enterprise)
Ways to run it
Alluxio Community Edition
Not included
- support: the open source edition is free without support and recommended for test, development and small-scale production1
- the decentralized metadata architecture that scales to tens of billions of files1
- FUSE-based POSIX access for PyTorch, TensorFlow and Ray1
You arrange
- the under-file systems (object storage or HDFS) that hold the data
- community support only (Slack and GitHub issues)
Alluxio Enterprise AI
Only in this edition
- master-less (DORA) architecture scaling to 10+ billion cached objects
- FUSE POSIX, S3 API and Python FSSpec access
- checkpoint write-back cache
- 24x7 support, emergency patching and health checks
You arrange
- a Kubernetes cluster (operator) or Docker on Linux hosts
- etcd
- local NVMe or SSD on the compute nodes for the cache
- FoundationDB for the checkpoint write-back cache
Alluxio Enterprise DA
Only in this edition
- acceleration of SQL analytics on data lakes
- transparent URIs without changing Hive Metastore locations
- 24x7 support and emergency patching
You arrange
- the compute engines (Spark, Trino, Presto) and the under-file systems
Capabilities
| Has an API | plan not known |
|---|---|
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Alluxio does.
- Amazon FSx for Lustre Accelerate AI, ML, and HPC workloads with the fastest storage for GPU instances in the cloud
- JuiceFS A distributed POSIX file system built on top of Redis and S3
- Amazon EFS Serverless, fully elastic file storage
- Lustre An open-source, distributed parallel file system designed for scalability, high-performance, and high-availability