Cross-post from the Anyscale Blog
When training data lives in one cloud region and your GPUs live in another, every epoch pays the cross-region tax on every read. We deployed Alluxio — a compute-side NVMe layer that acts as a distributed cache for Ray on Anyscale — in front of a cross-region GCS bucket and ran a 1TB Ray Data benchmark: warm cache reads dropped from 4,241 seconds to 208 seconds — a 20x speedup.

The Problem
Cross-region reads are one of the most common — and most painful and expensive — bottlenecks in the GPU data pipeline for distributed AI training. In our benchmark setup, the Ray cluster runs in asia-south1 (Mumbai) while training data lives in a GCS bucket in us-central1. Every read crosses an ocean.
With Ray Data, an open-source library for distributed multimodal data processing, reading 1TB of Parquet files directly from GCS, a single pass takes over 4,200 seconds. For a training job repeating the same dataset across many epochs, that latency compounds fast. GPUs sit idle, blocked on the data pipeline. The standard Ray Data call looks straightforward enough:
ds = ray.data.read_parquet("gs://us-central1-bucket/dataset/")
ds.map_batches(train_step).count()
# 4,294 seconds. Every epoch.
The problem isn't Ray — it's that the data is 10,000 miles away and you're fetching it fresh every time.
The Solution
Anyscale is a multi-cloud AI platform that enables teams to build and scale the complete, GPU-accelerated AI lifecycle with Ray. Anyscale provides teams with Python APIs that abstract deployment of Kubernetes clusters or having to manage Ray distributed compute running on the K8s cluster. To support a multi-cloud experience, Anyscale acts as a single pane to connect with cloud resources in your AWS account, Google Cloud project, or Kubernetes cluster in another cloud. Beyond a unified management experience, you can configure multiple cloud resource configurations so that Anyscale jobs can fall back to using resources in another region or cloud provider when resources in your primary configuration aren't available for your Anyscale clusters.
Alluxio is a compute-side NVMe-based distributed cache colocated with the Ray cluster. On the first read, data is pulled from the underlying storage and written to local NVMe SSDs. Every subsequent read — every epoch, every trial, every repeat pass — is served entirely from cache. No cross-region hop.
Alluxio is storage-agnostic: the same caching layer works against Amazon S3, Google Cloud Storage, Azure Blob Storage, any S3-compatible object store, and POSIX-compliant filesystems including on-prem NAS and HDFS.

We deployed Anyscale Kubernetes cloud resources with Anyscale’s Kubernetes operator, alongside Alluxio’s Kubernetes operator, and attached file store. We leveraged Alluxio for data access.
In this benchmark, the underlying bucket happens to live in GCS us-central1 — but the architecture, access patterns, and performance characteristics are identical regardless of where the data lives. If your training data is in S3 and your GPUs are elsewhere, or if you're pulling from on-prem storage into a cloud Ray cluster, the same approach applies. This is what makes caching Ray Data with Alluxio practical across clouds — not just optimized for one cloud.
[ Ray Cluster · asia-south1 (Mumbai) ]
5 × n2-standard-8 · ray.data.read_parquet()
↕ S3 API (port 29998) or FUSE mount ↕
[ Alluxio Workers · NVMe Cache ]
3 × n2-standard-16 · 8× NVMe SSDs each · 6TB total pagestore
↕ first read only ↕
[ GCS · us-central1 ]
Cross-region object storage · never touched again after cache warm
Ray Data connects to Alluxio via two access modes: an S3-compatible API (port 29998, using s3fs) or a FUSE mount (local POSIX path at /mnt/alluxio). Both are fully transparent to training code — no changes to your model, pipeline, or Ray job definition.
For iterative training workloads — multiple epochs, Ray Tune hyperparameter sweeps, repeated dataset passes — the economics are compelling: pay the cross-region network cost exactly once, then read at local NVMe speed for every subsequent iteration.
The Traps We Fell Into
Getting to 20x wasn't linear. We ran five iterations of the benchmark script and hit two significant traps that are directly relevant to Ray users. We're documenting them here because they're easy to fall into — and because one of them briefly produced a number we nearly published.
Trap #1 — .materialize() was killing our numbers at scale
Our first runs used ray.data.read_parquet(paths).materialize() — a natural choice to force a complete data load. At 1.2GB, we got an exciting 18x warm cache speedup. But as we scaled up, the numbers fell apart:
.png)
Blog

Alluxio integrates seamlessly with Lance and LanceDB to accelerate data access for multimodal AI workloads without changes to application logic. Benchmark results using a single Alluxio Worker on Azure demonstrate 13.14× faster image vector search, 5.19× faster training data loading, and up to 6.5× the concurrent read throughput with a warm cache compared to direct Azure Blob access. By caching frequently accessed data closer to compute, Alluxio reduces object storage latency and accelerates workloads involving images, videos, robotics data, and vector embeddings. This blog explores the integration architecture, performance benchmarks, and how to accelerate existing Lance applications through simple storage configuration changes.

Discover how Alluxio and Oracle Cloud Infrastructure (OCI) work together to accelerate AI workloads by reducing data access bottlenecks, improving GPU utilization, and optimizing infrastructure costs. Learn how Alluxio's distributed caching architecture delivers up to 53x lower data access latency, 20x higher IOPS, and 5x greater throughput in benchmark tests—all without requiring data migration. Explore deployment architectures, performance benchmarks, and best practices for scaling AI training and inference on OCI.

Alluxio’s MLPerf Storage v3.0 results demonstrate that organizations can keep persistent AI data in Amazon S3 while delivering high-performance training and checkpointing through a distributed cache close to compute. Alluxio achieved 147.03 GiB/s checkpoint write bandwidth for Llama 3 405B and near-linear scaling from one to 32 workers.