Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Sources

Meta Engineering

November 2026

Meta Engineering

Intelligent Delivery: Making Every Unit of Compute Serve Better Ads

Case study 9 min +90 XP

Meta's Intelligent Delivery is an ML-driven layer that allocates serving compute across requests, models, hardware fleets and ranking stages by predicting the marginal utility of each unit of compute, adding about 10% ads ranking performance since 2017.

Meta Engineering

F3 Lightning: How Meta Accelerates Ads ML Features to Production at Scale

Case study 10 min +100 XP

F3 Lightning decouples feature releases from shared execution in Meta's ads ML feature framework, so each of 20,000+ features is compiled, validated, deployed and rolled back independently instead of shipping as one all-or-nothing merged DAG.

October 2026

Meta Engineering

Catching Bugs Before They Land: JiTTesting’s Human-on-the-Loop Approach at Full Scale

Case study 6 min +60 XP

Meta has moved Catching Just-in-Time Tests (JiTTests) from research prototype into production: LLMs generate executable tests designed to fail on risky diffs, exposing concrete behavioral changes before code lands rather than reviewing code like a human would.

Meta Engineering

The Thin Orchestrator: How We Made Our AI Agents More Reliable by Giving the Router Less to Do

Case study 7 min +70 XP

Meta replaced a single all-knowing AI agent for onboarding data columns across its recommendation pipelines with a deliberately thin, deterministic orchestrator: about 1,300 lines that route 20+ workflows to 14 specialized subagents and do no domain reasoning.

Meta Engineering

Turning Opportunistic AI Inference Capacity Into Better Ads Recommendations

Case study 10 min +100 XP

Meta aggregates locally idle inference capacity, stranded by peak provisioning, delivery timing, resource-ratio and accelerator-type mismatches, into a preemptible opportunistic pool used to improve ads recommendations.

September 2026

Meta Engineering

An Organizational Second Brain: Building an AI That Learns From Experts

Case study 13 min +130 XP

Meta built a domain-expert AI agent for a compliance domain that separates declarative knowledge files (positions, taxonomies, routing indexes, gateway tests with YAML dependency graphs) from imperative composable "recipes" that encode expert reasoning workflows.

July 2026

June 2026

Meta Engineering

Privacy-Aware Infrastructure in the AI-Native Era: An Asset Classification Case Study

Case study 23 min +230 XP

Meta classifies data assets for privacy enforcement with a hybrid pipeline: it builds structured evidence briefs from code resolution, lineage, ownership and annotations, uses LLMs only for novel or ambiguous assets, and distills stable patterns into versioned, human-reviewed deterministic rules.

May 2026

Meta Engineering

Migrating Data Ingestion Systems at Meta Scale

Case study 9 min +90 XP

Meta migrated tens of thousands of MySQL-to-warehouse change data capture (CDC) ingestion jobs, together moving several petabytes daily, from customer-owned pipelines to a self-managed warehouse service, and fully retired the legacy system.

April 2026

Meta Engineering

How Meta Used AI to Map Tribal Knowledge in Large-Scale Data Pipelines

Case study 5 min +50 XP

Meta built a pre-compute engine where 50+ specialized AI agents (explorers, module analysts, writers, critics, fixers, gap-fillers) read every file of a 4,100-file, three-language config-as-code data pipeline and produced 59 concise context files capturing undocumented tribal knowledge.

March 2026

Meta Engineering

Friend Bubbles: Enhancing Social Discovery on Facebook Reels

Case study 7 min +70 XP

Friend bubbles on Facebook Reels surface videos that close friends have reacted to, using two closeness models: a survey-trained model run weekly over trillions of friend pairs, and a context-specific model trained on bubble interactions.

February 2026

January 2026

December 2025

Meta Engineering

How AI Is Transforming the Adoption of Secure-by-Default Mobile Frameworks

Case study 10 min +100 XP

Meta wraps risky OS and third-party APIs in secure-by-default frameworks built on three principles: mirror the existing API, depend only on public and stable interfaces, and keep each library small but usable across all apps and OS versions.

November 2025

October 2025

September 2025

August 2025

Meta Engineering

Federation Platform and Privacy Waves: How Meta distributes compliance-related tasks at scale

Case study 9 min +90 XP

Meta's Federation Platform turns large compliance initiatives into code-defined workstreams that scrape privacy flags, resolve asset ownership via a central catalog, group related flags, and either file tasks or send automated diffs, with resolution logic that auto-closes or reopens tasks.

July 2025

May 2025

April 2025

February 2025

January 2025

Meta Engineering

Strobelight: A profiling service built on open source technology

Case study 12 min +120 XP

Strobelight is Meta's fleet-wide profiling orchestrator, running 42 profilers (mostly eBPF-based, plus ad-hoc bpftrace scripts) on every production host with safeguards against PMU counter conflicts, concurrency limits and queuing.

Meta Engineering

ILA Evo: Meta’s journey to reimagine fiber optic in-line amplifier sites

Case study 9 min +90 XP

Meta's ILA Evo redesigns fiber optic in-line amplifier sites, the remote repeater huts spaced 80–100 km apart on intercity routes, so they can be deployed in three to four days with no heavy cranes, minimal concrete and a PUE under 1.5, versus the typical 2.5–3.0.

December 2024

November 2024

September 2024

August 2024

July 2024

Meta Engineering

AI Lab: The secrets to keeping machine learning engineers moving fast

Case study 6 min +60 XP

Meta's AI Lab is a pre-production framework that continuously runs shrunk, often CPU-only versions of common ML training workflows as A/B tests to measure time to first batch (TTFB), the delay from job submission to the first training batch.

June 2024

March 2024

Meta Engineering

Logarithm: A logging engine for AI training workflows and services

Case study 11 min +110 XP

Logarithm is Meta's internal serverless, multitenant log indexing service, written in C++20 with coroutines, that ingests over 100 GB/s of logs and serves thousands of queries per second with SLOs on freshness, completeness, durability and latency.

February 2024

January 2024

Meta Engineering

Improving machine learning iteration speed with faster application build and packaging

Case study 5 min +50 XP

Meta cut ML engineers' build and packaging overhead by double-digit percentages by tackling build non-determinism, pruning dependencies, and replacing monolithic XAR executables with an incremental Content Addressable Filesystem (CAF).

December 2023

October 2023

Meta Engineering

Automating dead code cleanup

Case study 7 min +70 XP

Meta's SCARF framework finds dead code by building a cross-language, symbol-level dependency graph from Glean and augmenting it with runtime usage data such as API endpoint logs, URI dispatch tables and async job invocations, then garbage-collects unreachable nodes, subgraphs and cycles.

Meta Engineering

Automating product deprecation

Case study 10 min +100 XP

SCARF (Systematic Code and Asset Removal Framework) is Meta's tooling for deprecating products by removing dead code and unused data, credited with deleting over 100M lines of code in five years and petabytes of data across 12.8M data types in 21 systems in one year.

Meta Engineering

Meta contributes new features to Python 3.12

Release 6 min +60 XP

Meta upstreamed several features into CPython 3.12, many derived from its Cinder runtime: immortal objects (PEP 683) that skip reference counting to cut copy-on-write memory in forked Instagram workers, the @typing.override decorator (PEP 698), and inlined comprehensions (PEP 709) running up to 2x faster.

August 2023

Meta Engineering

Using short-lived certificates to protect TLS secrets

Case study 7 min +70 XP

Meta now limits TLS private key exposure on its edge to 10 days by rotating short-lived certificates daily, after rejecting CRL/OCSP revocation (latency, failure modes), remote signing from datacenters (vulnerable to backbone and datacenter outages) and delegated credentials (insufficient browser support).

July 2023

May 2023

April 2023

Meta Engineering

Deploying key transparency at WhatsApp

Case study 9 min +90 XP

WhatsApp now automatically verifies end-to-end encryption keys using key transparency: the server maintains an append-only Auditable Key Directory (AKD) mapping accounts to public keys, and every change emits a privacy-preserving audit proof to public storage that anyone can verify.

February 2023

January 2023

Meta Engineering

Tulip: Modernizing Meta’s data platform

Case study 9 min +90 XP

Meta migrated its exabyte-scale analytics logging platform from legacy Hive Text Delimited and JSON serialization to the Tulip format across more than 30,000 logging schemas, sharply cutting bytes logged per second while schema counts stayed flat.

November 2022

Meta Engineering

Enabling static analysis of SQL queries at Meta

Case study 6 min +60 XP

UPM (Unified Programming Model) is Meta's standalone library that parses SQL into a semantic tree, a typed intermediate representation decoupled from any single query engine, so infrastructure teams can build linters, query rewriters and lineage tools without reimplementing analysis per dialect.

Meta Engineering

Reducing Instagram’s basic video compute time by 94 percent

Case study 5 min +50 XP

Instagram cut the compute cost of its basic adaptive bit rate (ABR) video encodings by 94 percent by reusing the frames from its progressive encodings and repackaging them into a DASH-capable file structure instead of transcoding from the original upload.

October 2022

September 2022

August 2022

July 2022

Meta Engineering

Owl: Distributing content at Meta scale

Case study 9 min +90 XP

Owl is Meta's system for high-fanout distribution of large hot objects (executables, AI models, search indexes), pairing a decentralized peer-to-peer data plane with a centralized control plane of regional trackers that build ephemeral per-chunk distribution trees.

June 2022

The quest for software engineering knowledge.

Look:
Layout: