---
title: "Composable data management at Meta"
description: "Meta has been decomposing its many monolithic data engines (ETL, interactive, streaming, ML preprocessing) into reusable components: language frontend, IR, optimizer, execution library and runtime."
url: "https://swe.quest/articles/composable-data-management-at-meta-c95cc910c8dc9e8f"
canonical: "https://engineering.fb.com/2024/05/22/data-infrastructure/composable-data-management-at-meta/"
source: "Meta Engineering"
published: "2024-05-22"
difficulty: "easy"
kind: "Case study"
reading_minutes: 9
tags: ["query-engines","analytics","system-design","open-source"]
---

# Composable data management at Meta

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2024-05-22, 9 min read, Case study. Original: [https://engineering.fb.com/2024/05/22/data-infrastructure/composable-data-management-at-meta/](https://engineering.fb.com/2024/05/22/data-infrastructure/composable-data-management-at-meta/)

## Summary

Meta has been decomposing its many monolithic data engines (ETL, interactive, streaming, ML preprocessing) into reusable components: language frontend, IR, optimizer, execution library and runtime. Velox, its open-source engine- and dialect-agnostic execution library, is the centerpiece. It uses columnar/vectorized execution, compressed execution via encodings, lazy materialization and adaptive filter/join ordering, and has delivered 3-10x efficiency gains in Presto (Prestissimo) and about 3x in Spark via Gluten. To restore interoperability, Meta upstreamed StringView, ListView and Run-End-Encoding into Apache Arrow. Next steps are the Nimble file format for wide AI/ML tables and hardware-accelerated data systems.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Query engines](https://swe.quest/tags/query-engines.md) (Data & databases)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)

## Prerequisites

- query execution engines
- columnar data formats

## Keywords

Velox, Apache Arrow, Presto, Prestissimo, Apache Gluten, Spark, Nimble

## Related posts

- [Introducing Velox: An open source unified execution engine](https://swe.quest/articles/introducing-velox-an-open-source-unified-execution-engine-d191dd46ed8f465e.md): Meta Engineering · 2023-03-09 · Hard · 8 min read · Query engines, Analytics & OLAP, C & C++, Performance engineering, Open source
  Velox is Meta's open source C++ execution engine that unifies the data-plane components (expression evaluation, aggregation, joins, sorting, I/O, resource management) shared by engines like Presto, Spark and PyTorch's TorchArrow.
- [Aligning Velox and Apache Arrow: Towards composable data management](https://swe.quest/articles/aligning-velox-and-apache-arrow-towards-composable-data-management-afb27bd747bab328.md): Meta Engineering · 2024-02-20 · Hard · 8 min read · Query engines, Analytics & OLAP, Data structures, Open source, C & C++
  Apache Arrow 15 adds three columnar layouts derived from Meta's Velox Vectors: StringView, ListView and Run-End-Encoding (REE).
- [A modern data stack for startups](https://swe.quest/articles/a-modern-data-stack-for-startups-20644b674a9fc96e.md): incident.io · 2022-01-25 · Medium · 15 min read · Data pipelines, Analytics & OLAP, PostgreSQL
  A small startup data stack built in two weeks: Fivetran (plus Stitch for connectors Fivetran lacks, like the Close CRM) extracts data into BigQuery, dbt transforms it, and Metabase lets non-engineers explore it without SQL.
- [How we extended Apache DataFusion to execute one query across many machines](https://swe.quest/articles/how-we-extended-apache-datafusion-to-execute-one-query-across-many-machines-6519f2d407c939dd.md): Datadog Engineering · 2026-10-01 · Hard · 12 min read · Query engines, Distributed databases, Rust, Analytics & OLAP, Open source
  Datadog built Distributed DataFusion, an open source Rust framework that extends Apache DataFusion's physical execution model so a single interactive query can run across many machines while keeping latency roughly flat as data grows.
- [ClickHouse and Parquet: A foundation for fast Lakehouse analytics](https://swe.quest/articles/clickhouse-and-parquet-a-foundation-for-fast-lakehouse-analytics-8735ae90a09a83f6.md): ClickHouse · 2025-05-07 · Medium · 22 min read · Query engines, Analytics & OLAP, Performance engineering, Concurrency
  ClickHouse queries Parquet files directly, without ingestion, through a format-specific reader that currently parses via Arrow and then converts into ClickHouse's in-memory format.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
