Iris: a scalable cloud file system with efficient integrity checks

Emil Stefanov, Marten van Dijk, Ari Juels, Alina Oprea

Cloud storage is a double-edged sword. While it offers "infinite" elasticity and cost savings, it forces enterprises to cede control to a service provider that might be untrustworthy, prone to silent data corruption, or vulnerable to sophisticated "rollback" attacks.

In their paper, "Iris: A Scalable Cloud File System with Efficient Integrity Checks," researchers from UC Berkeley and RSA Laboratories present a practical solution that bridges this "integrity-measurement gap" without killing performance.

TL;DR

Iris is a transparent, authenticated cloud file system that provides strong guarantees for data integrity, freshness (protection against old data replays), and retrievability. By combining a novel sparse randomized erasure code with a high-performance caching "portal," Iris achieves near-native throughput (260MB/s) while allowing continuous auditing of massive, dynamic datasets.

What Problem Does This Paper Address?

When you move a file system to the cloud, you face three major security hurdles:

  1. Integrity: How do you know the data hasn't been corrupted?
  2. Freshness: How do you know the cloud isn't serving you a valid but old version of a file (a rollback attack)?
  3. Retrievability: How do you know the cloud hasn't lost parts of your data that you haven't accessed in months?

Existing solutions often fail at scale. Standard Merkle trees become unbalanced and slow when handling complex directory operations (like moves or deletes) across thousands of clients. Furthermore, most "Proofs of Retrievability" (PoR)—the cryptographic tools used to audit data—were designed for static archives, not living, breathing file systems where data changes every millisecond.

Methods

Iris introduces a two-layer architecture centered around a trusted portal. This portal sits within the enterprise network, acting as a proxy between local clients and the public cloud.

1. The Authentication Layer

Iris uses a sophisticated Merkle-tree-based structure:

  • Block-level MACs: Every data block is tagged with a Message Authentication Code.
  • Version Trees: To ensure freshness, Iris maintains "file version trees" that track version counters for every block. These are compressed to handle sequential writes efficiently.
  • Balanced Directory Trees: Unlike traditional file systems that map directly to Merkle trees, Iris uses a balanced binary tree structure for directories to ensure that metadata operations remain fast regardless of the file system's shape.

2. The Auditing Layer (Dynamic PoR)

The paper’s most significant theoretical contribution is a new sparse randomized erasure code.

  • Sparsity: When a file is updated, only a tiny fraction of parity blocks need to be changed, making it computationally "cheap" to maintain.
  • Randomization: The mapping of data blocks to parity blocks is randomized and hidden from the cloud. This prevents a malicious provider from targeting specific "weak spots" in the code to delete data without being caught by the auditor.

Datasets

The authors evaluated Iris using standard file system benchmarking workloads rather than static datasets:

  • Tar/Untar: Using the Linux kernel source code (approx. 420 MB, 37,000 files) to simulate complex directory structures and metadata-heavy operations.
  • IOZone: A standard filesystem benchmark tool used to test various access patterns (read, write, reread, random).
  • Synthetic Traces: Large-scale sequential and random Read/Write operations (up to 10 GB files) to test raw throughput and scalability.

Key Insights and Ideas

  • The "Portal" as a Latency Shield: The authors realized that network latency is the primary "economic barrier" to cloud storage. By caching Merkle tree nodes and parities at the portal, Iris hides the "integrity tax" behind standard network round-trip times.
  • Freshness via Versioning: By binding version numbers to MACs and then authenticating those version numbers in a tree, Iris prevents the cloud from ever successfully serving an outdated version of a file.
  • Auditing Dynamic Data: The "aha moment" for the auditing layer was realizing that the portal can cache parity information locally and only "checkpoint" it to the cloud periodically. This prevents the cloud from seeing individual updates and reverse-engineering the erasure code's structure.

Key Results

  • High Throughput: Iris achieved an end-to-end throughput of 260 MB per second for 100 simultaneous clients. The bottleneck was the physical hardware (network and disks), not the cryptography.
  • Minimal Latency Overhead: For most operations, the time spent on integrity checking and cache management (portal processing) accounted for less than 14% of total latency in a "cold cache" scenario.
  • Scalability: The system scales linearly with the number of clients, proving it can handle enterprise-level workloads.
  • Efficient Recovery: The sparse erasure code allows the system to detect and recover from small-scale corruptions with very low communication overhead.

Limitations and Future Work

  • Portal Centralization: In the prototype, the portal is a single server. While the authors suggest it can be distributed (using tools like memcached), a production environment would need a robust, high-availability distributed portal to avoid a single point of failure.
  • Memory Constraints: The portal needs to keep parity information in RAM for maximum efficiency. While the authors optimized this to fit within the memory of a typical server (e.g., 16GB of RAM for a 1PB filesystem), extremely large deployments might hit memory limits.
  • Size Bounds: The current erasure code construction requires an "upper bound" on the total file system size to be set in advance. Future work could explore more elastic coding schemes that grow with the data.

Summary updated

BibTeX
@inproceedings{stefanov2012iris,
  author = {Emil Stefanov and Marten van Dijk and Ari Juels and Alina Oprea},
  title = {{Iris: a scalable cloud file system with efficient integrity checks}},
  booktitle = {ACSAC},
  year = {2012},
  doi = {10.1145/2420950.2420985},
}
Figure