This post is for teams running multimodal retrieval, training data loading, and workloads with large numbers of small fragments. All performance numbers use the same task with direct Azure Blob access as the baseline.
Pointing a Lance application at Alluxio takes one change : the S3 endpoint. Read and write logic stays exactly the same. In our tests in Azure eastus2, all six AI read workloads ran faster on warm reads than with direct Azure Blob access. (A warm read is a read served from a cache that has already been populated.)
- Image vector search ran 13.14× faster and image training batch loading ran 5.19× faster.
- With an empty cache, five of the six workloads still ran about 1.5–2.3× faster.
- Tail latency improved even more: p99 for image vector search dropped from 164.4 ms to 9.3 ms.
- On a table with 10,000 small fragments, warm-read throughput was 2.0–6.5× that of direct access.
All results were achieved with a single Alluxio Worker.
1. Multimodal Workloads: Up to 13.14× Faster on Warm Reads
We picked six representative multimodal AI read workloads covering vector search, hybrid search, video frame extraction, robot data loading, and training data loading. Each one compares direct Azure Blob access against access through Alluxio.

Test Environment and Methodology
We tested each workload over three access paths. Each path was run 5 times and we report the median. In Figures 2–4, each dot is one run.
- Direct: Lance accesses Azure Blob directly through its native Azure client.
- Cold read: The Worker cache is empty, and the client runs the workload through the Alluxio S3 API.
- Warm read: The cache is already populated. We first run the full workload once, then time it again in a fresh client process.
1.1 Retrieval: Locating Records and Reading Their Content
Text vector search
- Workload: MS MARCO data, 1,000 sequential top-5 queries. Query vectors are generated in advance and excluded from timing.
- Query: Lance runs a nearest query on a 384-dimensional vector column with nprobes=4 and metric=cosine.
- Total time: Down from 15.17 s (direct) to 5.60 s (warm), a 2.71× speedup. Cold read: 2.29×.
- Per-query latency: p99 dropped from 60.4 ms to 11.4 ms.
Hybrid search
- Workload: MS MARCO data, 1,000 sequential top-5 queries.
- Query: LanceDB merges the rankings from vector search and full-text search.
- Total time: Down from 22.43 s (direct) to 10.22 s (warm), a 2.20× speedup. Cold read: 2.03×.
- Note: For RAG applications, the gain shows up in the step that retrieves candidate passages and reads their content. This test does not include generation model inference latency.
Image vector search
- Workload: 1,000 top-5 queries on a DocVQA table. Each run reads 5,000 full JPEGs, about 2.88 GB.
- Scope: Image decoding and OCR are not included.
- Total time: Down from 58.13 s (direct) to 4.42 s (warm), a 13.14× speedup. Cold read: 1.48×.
- Per-query latency: p50 dropped from 46.4 ms to 2.7 ms, and p99 from 164.4 ms to 9.3 ms.
- Note: This workload combines retrieval with reading large media objects, so it benefits the most from cache reuse.

1.2 Reading: Video, Robot Data, and Training Batches
Video frame extraction
- Workload: Extract the three consecutive middle frames from each of 100 OpenVid videos.
- Read path: Lance gets duration and frame rate via take() and reads the video via take_blobs(). PyAV/FFmpeg decodes only the frames needed.
- Total time: Down from 30.68 s (direct) to 13.27 s (warm), a 2.31× speedup. Cold read: 1.57×.
- Per-video latency: p50 dropped from 303.4 ms to 128.2 ms.
Robot trajectory clips
- Workload: 128 trajectory clips taken from 32 robot manipulation recordings. Each clip contains the state and action at eight consecutive timesteps, plus 24 frames from three cameras. That is 3,072 frames per run.
- Read path: Data is read via take() and take_blobs(), then decoded and aligned by timestamp.
- Total time: Down from 32.72 s (direct) to 7.64 s (warm), a 4.34× speedup. Cold read was on par with direct access.
- Per-clip latency: p50 dropped from 234.9 ms to 46.7 ms, and p95 from 364.6 ms to 73.8 ms.
Image training batches
- Workload: Read 10,000 images and their annotations from BDD100K, in batches of 4, for 2,500 batches total. No model training is included.
- Read path: Two PyTorch DataLoader worker processes decode with Pillow and convert to tensors.
- Total time: Down from 167.36 s (direct) to 32.26 s (warm), a 5.19× speedup. Cold read: 2.03×.
- Per-batch latency: The main process's p95 wait for the next batch dropped from 154.7 ms to 13.1 ms, and p99 from 223.8 ms to 14.1 ms.
- Note: The cache shortens the end-to-end data preparation time and also cuts how long the training loop sits waiting for input.


2. Many Small Fragments: Up to 6.5× Faster on Warm Reads
Frequent appends cause a Lance table to accumulate many small fragments, and reading them produces a dense stream of small-object requests. This set of tests checks whether Alluxio can handle that kind of load.
The test table has 10,000 fragments of 100 rows each. Pylance talks to the Alluxio Worker directly over the S3 API, and the baseline is direct Azure Blob access. We ran single-client reads first, then concurrent reads.
- Single-client reads: On both the original 10,000-fragment table and the compacted table, we measured table open, full table scan, and random take(). Compaction merges small fragments into larger files.
- Concurrent reads: We scaled concurrent clients from 1 up to 256 and recorded throughput (fragments/s) and p99 latency, using a single Worker.
Cold and warm reads correspond to an empty cache and a pre-warmed cache, respectively.

For single-client full table scans, all three paths took 47–49 s. Warm reads cut table open time by about 40%. After compaction, warm reads opened the table more than 3× faster and cut random take() time by about 45%. Merging small fragments and hitting the cache together improve scattered access.


Concurrent reads showed the biggest gains in this set of tests. Warm-read throughput reached about 2,500 fragments/s at a concurrency of 64. At every concurrency level, warm-read throughput was 2.0–6.5× that of direct access. Up to a concurrency of 16, warm-read p99 stayed around 11 ms, versus 70–130 ms for direct access. At a concurrency of 256, warm-read p99 was 179 ms, versus 847 ms for direct access.
When multiple clients repeatedly hit the same fragments, Alluxio serves the data from a cache close to compute. That sharply reduces latency for dense small-object requests.
3. Lance: An Open Lakehouse Format for Multimodal AI
The gains in the first two sections come from how well Lance's access pattern fits Alluxio's cache. This section walks through how Lance organizes data and how its read and write paths work, from a storage perspective.
Lance is not a single .lance file. It is a set of specifications that work together. The official spec splits the storage side into four layers: file, table, index, and catalog. This post covers the first three:
- File layer: Manages columns, pages, and encodings, and supports reads by column, by row, and by range.
- Table layer: Manages snapshots through fragments, manifests, and versions. Immutable data files form versions that can be committed and rolled back.
- Index layer: Maintains scalar, vector, and full-text indexes separately.
References: Lance Format Overview · File Format · Table Format

Both the LanceDB SDK and the Lance SDK ultimately reach storage through lance-io. The Alluxio S3 API is an S3-compatible endpoint that lance-io's object_store client talks to.
A Lance table is split by rows into multiple fragments. Each fragment can hold several data files, and each file stores a subset of the columns. The manifest records which fragments, deletion files, and indexes the current version references.
As a result, appending rows, adding an embedding column, deleting records, and building indexes never require rewriting the whole table. Each operation only writes new objects and then commits a new version. At query time, Lance first uses the index to find candidate rows, then fetches the text or media data for just those rows.
References: Table Format · Index Format
How Lance Writes to Object Storage
Take an example table, photos, through six steps. The first five are writes: create the table, append 100 rows, add an embedding column, build indexes, and delete a row. The sixth is a query.
Each write only adds new objects and publishes a new manifest. Objects from older versions stay untouched, so readers that already have the table open can keep reading their original snapshot.
Reference: Lance Read and Write and Versioning

When the table is created, larger images are first written as .blob objects based on their size, and then the .lance data files are written. Writing 300 rows issues 15 S3 requests in total. The last request publishes the manifest with a conditional PUT.
An append creates a new fragment. Adding the embedding column reads only the caption column and writes a new column file for each fragment. The vector index and the full-text index each commit a new version. A delete only writes a deletion file.
The manifest records the schema, fragments, files, and indexes. Manifest file names are numbered in reverse version order, so newer versions get smaller numbers. That means the first entry a LIST returns is always the latest version.


Why Lance Reads Are a Good Fit for Cache Acceleration
Lance reads are highly precise, but they involve many requests that each fetch only a little data. The example query issues 23 S3 requests yet reads only about 15 KB of column data. Every round trip to remote storage adds latency, and those round trips add up.
Inside the process, Lance caches only metadata such as file footers. It does not cache data pages or images. The same query reads the caption page twice. On top of that, the in-process cache cannot be shared across processes.
Figure 12 shows the read path for the example query: first scan the caption column to find matching rows, then read four images.

As the table grows, scans read only the pages of the relevant columns. For row lookups, the read range narrows level by level, from the file footer down to the chunk, the row, and finally the image bytes.

Alluxio acts as an independent data service layer that absorbs these repeated data requests. Data that has been read is cached on Workers close to compute. In our tests, warm reads were timed with a fresh client process and still hit 100% byte cache hit rate. That shows multiple jobs and processes can share the same cache.
4. Zero-Change Integration: Applications Keep Using the Lance API
Lance natively supports S3-compatible object storage. With Alluxio in place, applications still call lance.dataset() and lance.write_dataset(), or LanceDB's connect() and open_table(). Only two things change:
- The table URI points to an Alluxio mount point.
- aws_endpoint in storage_options points to the Alluxio S3 API.
Lance still handles filtering, indexing, and decoding. Alluxio takes over object access and caching.

import lance
import lancedb
opts = {
"aws_endpoint": "http://worker:29998",
"allow_http": "true",
"aws_access_key_id": "alluxio",
"aws_secret_access_key": "alluxio",
}
# Pylance
ds = lance.dataset("s3://my-mount/datasets/photos", storage_options=opts)
# LanceDB
db = lancedb.connect("s3://my-mount/datasets", storage_options=opts)
tbl = db.open_table("photos")In this example, my-mount is the Alluxio mount point and worker:29998 is the S3 API address. Set the actual address and credentials for your deployment. The LanceDB URL points to the database directory, and the table name is given in open_table().
Reference: Lance Object Store Configuration
Everything Lance sends is a standard S3 request: LIST, GET and range GET, PUT, HEAD, multipart upload, and conditional PUT. The Alluxio S3 API receives these requests, and the Worker fetches from the backing store and serves the cache. The backing store validated in this test is Azure Blob.
Lance commits a version with a single conditional PUT that carries If-None-Match: *. If two writers try to commit the same version at the same time, the later one gets a 412. Lance then reads the other writer's transaction record, confirms the two are compatible, rebases automatically, and commits the next version.

Conclusion: Bringing Lance's Random-Access Strengths to the Data Path
Lance handles vector search, row lookups, media reads, and version commits all on the same table. Alluxio plugs in through the S3 API, so applications don't need to change how they use Lance. Frequently accessed data is served from Alluxio's cache close to compute.
For AI workloads, the clearest gains come from repeatedly accessed images, video, robot data, and training batches. On warm reads, all six read workloads beat direct access. Image vector search and image training batch loading ran 13.14× and 5.19× faster, respectively.
Alluxio stands out most when a table has many small fragments. When cached data is read repeatedly, warm-read throughput is 2.0–6.5× that of direct access.
.png)
Blog

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.
