Spotify’s Random Access Parquet design puts an external index in front of existing files: a lookup key identifies files and row numbers; cached metadata maps rows to pages; parallel ranged reads fetch those pages. Unmodified pages can still require a 4MB read to retrieve 100 bytes.

One proposed optimization gives each key an independently addressable Zstandard frame, avoiding a proliferation of Parquet pages. Values in a frame must then be interpretable without earlier frames, ruling out delta and run-length encodings. The July article is an architectural account, not an independently measured cost or p99 comparison, and the index still has build, storage and maintenance costs.

Spotify engineering