# Engineering at Meta

Engineering at Meta Blog

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## ZGateway: Learnings from Putting a Proxy in Front of ZippyDB

DevFeed: [ZGateway: Learnings from Putting a Proxy in Front of ZippyDB](<https://devfeed.tech/articles/zgateway-learnings-from-putting-a-proxy-in-front-of-zippydb-133.md>)

Original publisher: [Read original article](<https://engineering.fb.com/2026/09/03/core-infra/zgateway-proxy-zippydb-meta/>)

Author: Rittik Banik; Yunhao Cao

Published: 2026-09-03T16:00:20Z

Content type: article

Language: en

Sources: [Engineering at Meta](<https://devfeed.tech/sources/engineering-at-meta.md>)

Topics: [networking](<https://devfeed.tech/topics/networking.md>)

Tags: [backend](<https://devfeed.tech/tags/backend.md>), [core-infra](<https://devfeed.tech/tags/core-infra.md>), [database](<https://devfeed.tech/tags/database.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [meta](<https://devfeed.tech/tags/meta.md>), [operations](<https://devfeed.tech/tags/operations.md>), [resilience](<https://devfeed.tech/tags/resilience.md>), [routing](<https://devfeed.tech/tags/routing.md>), [tls](<https://devfeed.tech/tags/tls.md>)

### AI overview

Meta introduces ZGateway, a proxy layer that unifies client traffic to its ZippyDB key-value store. The article explains how a managed proxy centralizes connection management, request batching, load balancing, admission control, routing, and cross-region resilience for a large client fleet.

### Source excerpt

We're introducing ZGateway, the proxy we are using to unify traffic through ZippyDB, Meta's most widely-used key value store. As a bonus, it also enables admission control, load balancing, cross-region resilience, and richer operations. ZippyDB is the most widely used key value store at Meta, backing product metadata, counters, and configuration, and can serve billions [...] Read More... The post ZGateway: Learnings from Putting a Proxy in Front of ZippyDB appeared first on Engineering at Meta.

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

DevFeed: [An Organizational Second Brain: Building an AI That Learns From Experts](<https://devfeed.tech/articles/an-organizational-second-brain-building-an-ai-that-learns-from-experts-132.md>)

Original publisher: [Read original article](<https://engineering.fb.com/2026/09/02/ml-applications/organizational-second-brain-ai-learns-from-experts/>)

Author: Shaurya Sengar; Jason Nawrocki; Jay Shah; Prashant Kommireddi

Published: 2026-09-02T09:00:29Z

Content type: article

Language: en

Sources: [Engineering at Meta](<https://devfeed.tech/sources/engineering-at-meta.md>), [Meta AI Research](<https://devfeed.tech/sources/meta-ai-research.md>), [Meta ML Applications](<https://devfeed.tech/sources/meta-ml-applications.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Architecture & Design](<https://devfeed.tech/topics/architecture-design.md>)

Tags: [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-research](<https://devfeed.tech/tags/ai-research.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [compliance](<https://devfeed.tech/tags/compliance.md>), [llms](<https://devfeed.tech/tags/llms.md>), [ml-applications](<https://devfeed.tech/tags/ml-applications.md>), [security-privacy](<https://devfeed.tech/tags/security-privacy.md>)

### AI overview

Meta describes an AI agent for a compliance domain that preserves specialist knowledge through an auditable knowledge architecture, an expert-like reasoning layer, and a feedback-driven improvement pipeline without model retraining.

### Source excerpt

We've built an AI agent that acts as a secondary expert for a given domain, making deep specialist knowledge readily available and preserved for anyone in an organization to access, share, and build upon. This is not a typical domain-specific agent. Its novelty comes from integrating two layers: A structured, auditable knowledge architecture separates what [...] Read More... The post An Organizational Second Brain: Building an AI That Learns From Experts appeared first on Engineering at Meta.

## MetaRoCE: A New RDMA Transport Built for AI-Scale Ethernet

DevFeed: [MetaRoCE: A New RDMA Transport Built for AI-Scale Ethernet](<https://devfeed.tech/articles/metaroce-a-new-rdma-transport-built-for-ai-scale-ethernet-130.md>)

Original publisher: [Read original article](<https://engineering.fb.com/2026/08/24/networking-traffic/metaroce-rdma-transport-ai-ethernet/>)

Author: Arvind Srinivasan; Neil Spring; Omar Baldonado; Rajiv Krishnamurthy

Published: 2026-08-24T18:02:29Z

Content type: article

Language: en

Sources: [Engineering at Meta](<https://devfeed.tech/sources/engineering-at-meta.md>)

Topics: [Ethernet](<https://devfeed.tech/topics/ethernet.md>), [Networks](<https://devfeed.tech/topics/networks.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>), [GPU](<https://devfeed.tech/topics/gpu.md>), [data centers](<https://devfeed.tech/topics/data-centers.md>), [Low Latency](<https://devfeed.tech/topics/low-latency.md>), [telemetry](<https://devfeed.tech/topics/telemetry.md>), [Inference](<https://devfeed.tech/topics/inference.md>)

Tags: [ai-infrastructure](<https://devfeed.tech/tags/ai-infrastructure.md>), [data-center-engineering](<https://devfeed.tech/tags/data-center-engineering.md>), [data-centers](<https://devfeed.tech/tags/data-centers.md>), [data-infrastructure](<https://devfeed.tech/tags/data-infrastructure.md>), [ethernet](<https://devfeed.tech/tags/ethernet.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [low-latency](<https://devfeed.tech/tags/low-latency.md>), [networking-traffic](<https://devfeed.tech/tags/networking-traffic.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [performance](<https://devfeed.tech/tags/performance.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [telemetry](<https://devfeed.tech/tags/telemetry.md>)

### AI overview

Meta introduces MetaRoCE, an RDMA transport protocol designed for AI workloads on commodity Ethernet at million-GPU scale. The article describes its release through the Open Compute Project and explains how endpoint intelligence, packet spraying, fine-grained logical paths, and real-time telemetry aim to provide high throughput, low tail latency, and operational simplicity for distributed training and inference.

### Source excerpt

Training and serving frontier AI models depends on fast, reliable networks that move data between GPUs without wasting compute cycles. To meet this challenge at scale, Meta designed MetaRoCE - a clean-sheet RDMA transport protocol purpose-built for AI workloads on commodity Ethernet. We're releasing the MetaRoCE specification, a reference software implementation and a compliance test [...] Read More... The post MetaRoCE: A New RDMA Transport Built for AI-Scale Ethernet appeared first on Engineering at Meta.

## MTIA 300: Meta's First Training Chip with Built-in NICs and Communication-Offloading Engines

DevFeed: [MTIA 300: Meta's First Training Chip with Built-in NICs and Communication-Offloading Engines](<https://devfeed.tech/articles/mtia-300-meta-s-first-training-chip-with-built-in-nics-and-communication-offloading-engines-131.md>)

Original publisher: [Read original article](<https://engineering.fb.com/2026/08/24/networking-traffic/mtia-300-meta-training-chip-built-in-nics/>)

Author: Rajiv Krishnamurthy; Wes Bland

Published: 2026-08-24T17:45:52Z

Content type: article

Language: en

Sources: [Engineering at Meta](<https://devfeed.tech/sources/engineering-at-meta.md>)

Topics: [recommendation systems](<https://devfeed.tech/topics/recommendation-systems.md>), [Language models](<https://devfeed.tech/topics/language-models.md>)

Tags: [chip-design](<https://devfeed.tech/tags/chip-design.md>), [communication](<https://devfeed.tech/tags/communication.md>), [data-infrastructure](<https://devfeed.tech/tags/data-infrastructure.md>), [devinfra](<https://devfeed.tech/tags/devinfra.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [inference](<https://devfeed.tech/tags/inference.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [meta](<https://devfeed.tech/tags/meta.md>), [networking-traffic](<https://devfeed.tech/tags/networking-traffic.md>), [performance](<https://devfeed.tech/tags/performance.md>), [production-engineering](<https://devfeed.tech/tags/production-engineering.md>), [training](<https://devfeed.tech/tags/training.md>)

### AI overview

Meta describes MTIA 300, an in-house accelerator for training ranking and recommendation models, with built-in network chiplets and a co-designed HCCL communication library. The design targets communication-heavy distributed training by integrating RDMA NICs into the chip package and offloading communication work.

### Source excerpt

MTIA 300 is the first of Meta's family of in-house training and inference accelerators optimized for training ranking and recommendation models. We're sharing how MTIA 300's built-in NIC chiplets allow it to meet the communication needs associated with training recommendation models with superior performance over general-purpose GPUs. By co-designing MTIA's communication library, HCCL, alongside the [...] Read More... The post MTIA 300: Meta's First Training Chip with Built-in NICs and Communication-Offloading Engines appeared first on Engineering at Meta.

## How We're Building Scam Alert on WhatsApp With End-to-End Encryption and Verifiability Guarantees

DevFeed: [How We're Building Scam Alert on WhatsApp With End-to-End Encryption and Verifiability Guarantees](<https://devfeed.tech/articles/how-we-re-building-scam-alert-on-whatsapp-with-end-to-end-encryption-and-verifiability-guarantees-129.md>)

Original publisher: [Read original article](<https://engineering.fb.com/2026/08/12/security/how-were-building-scam-alert-whatsapp/>)

Author: Chris Wiltz

Published: 2026-08-12T13:00:28Z

Content type: article

Language: en

Sources: [Engineering at Meta](<https://devfeed.tech/sources/engineering-at-meta.md>)

Topics: [End-to-End Encryption](<https://devfeed.tech/topics/end-to-end-encryption.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [Machine Learning & Artificial Intelligence](<https://devfeed.tech/topics/machine-learning-artificial-intelligence.md>), [Inference](<https://devfeed.tech/topics/inference.md>), [Security](<https://devfeed.tech/topics/security.md>), [Bug Bounty](<https://devfeed.tech/topics/bugbounty.md>), [Social engineering](<https://devfeed.tech/topics/social-engineering.md>)

Tags: [bug-bounty](<https://devfeed.tech/tags/bug-bounty.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [scam](<https://devfeed.tech/tags/scam.md>), [security](<https://devfeed.tech/tags/security.md>), [security-privacy](<https://devfeed.tech/tags/security-privacy.md>), [social-engineering](<https://devfeed.tech/tags/social-engineering.md>), [user-control](<https://devfeed.tech/tags/user-control.md>), [whatsapp](<https://devfeed.tech/tags/whatsapp.md>)

### AI overview

An early technical overview of WhatsApp's optional Scam Alert feature, which uses a small on-device machine learning model to classify potential scam messages while keeping message content on the device. The article explains how the design preserves end-to-end encryption through local processing, avoids automatic reporting, gives users control, and supports independent security review during a limited Beta rollout.

### Source excerpt

WhatsApp is committed to helping people stay safe while protecting the privacy of their messages. As scam tactics evolve -- from impersonation to social engineering to AI-generated lures -- we're always evolving as well, so that our protections stay ahead of scammers while protecting people's personal messages with end-to-end encryption. Today, we're sharing an early [...] Read More... The post How We're Building Scam Alert on WhatsApp With End-to-End Encryption and Verifiability Guarantees appeared first on Engineering at Meta.

## From User Sequences to Scaling Laws: A Multi-Stage Architecture for Meta's Ads Ranking

DevFeed: [From User Sequences to Scaling Laws: A Multi-Stage Architecture for Meta's Ads Ranking](<https://devfeed.tech/articles/from-user-sequences-to-scaling-laws-a-multi-stage-architecture-for-meta-s-ads-ranking-128.md>)

Original publisher: [Read original article](<https://engineering.fb.com/2026/08/05/ml-applications/from-user-sequences-to-scaling-laws-a-multi-stage-architecture-for-metas-ads-ranking/>)

Author: Steven De Gryze; Parshva Doshi; Sean O'Byrne; Arnold Overwijk; Dinesh Ramasamy; Lee Xiong

Published: 2026-08-05T19:20:20Z

Content type: article

Language: en

Sources: [Engineering at Meta](<https://devfeed.tech/sources/engineering-at-meta.md>), [Meta ML Applications](<https://devfeed.tech/sources/meta-ml-applications.md>)

Topics: [recommendation systems](<https://devfeed.tech/topics/recommendation-systems.md>), [Temporal data](<https://devfeed.tech/topics/temporal-data.md>)

Tags: [ads](<https://devfeed.tech/tags/ads.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [data-infrastructure](<https://devfeed.tech/tags/data-infrastructure.md>), [meta](<https://devfeed.tech/tags/meta.md>), [ml-applications](<https://devfeed.tech/tags/ml-applications.md>), [production-engineering](<https://devfeed.tech/tags/production-engineering.md>), [recommendation-systems](<https://devfeed.tech/tags/recommendation-systems.md>), [scaling-laws](<https://devfeed.tech/tags/scaling-laws.md>), [tokenization](<https://devfeed.tech/tags/tokenization.md>)

### AI overview

Meta describes a multi-stage sequence-model architecture for ads ranking that separates offline user modeling from lightweight online ranking. It also uses dense tokenization and target-aware attention to learn feature interactions, with reported conversion and ad-click lifts across Instagram and Facebook.

### Source excerpt

Every day, Meta's recommendation platforms handle billions of user interactions, generating rich temporal signals that capture individual preferences and intent across products, ads, and content. In our 2024 post on sequence learning for ads recommendations, we showed how modeling the order and timing of user actions (rather than relying on static, manually engineered sparse features) [...] Read More... The post From User Sequences to Scaling Laws: A Multi-Stage Architecture for Meta's Ads Ranking appeared first on Engineering at Meta.

## GEM Training: How Meta Doubled the Efficiency of Its LLM-Scale Ads Foundation Model

DevFeed: [GEM Training: How Meta Doubled the Efficiency of Its LLM-Scale Ads Foundation Model](<https://devfeed.tech/articles/gem-training-how-meta-doubled-the-efficiency-of-its-llm-scale-ads-foundation-model-127.md>)

Original publisher: [Read original article](<https://engineering.fb.com/2026/08/03/ml-applications/training-gem-at-llm-scale-meta-ads-recommendation-foundation-model/>)

Author: Darren Liu; Huayu Li; Raghav Boinepalli; Yuzhen Huang; Jackie (Jiaqi) Xu; Richard Qiu; Chunzhi Yang; Rich Zhu; Dev (Devashish) Shankar; Huaqing Xiong

Published: 2026-08-03T18:00:17Z

Content type: article

Language: en

Sources: [Engineering at Meta](<https://devfeed.tech/sources/engineering-at-meta.md>), [Meta AI Research](<https://devfeed.tech/sources/meta-ai-research.md>), [Meta ML Applications](<https://devfeed.tech/sources/meta-ml-applications.md>)

Topics: [recommendation systems](<https://devfeed.tech/topics/recommendation-systems.md>), [networking](<https://devfeed.tech/topics/networking.md>)

Tags: [ads](<https://devfeed.tech/tags/ads.md>), [ai-infrastructure](<https://devfeed.tech/tags/ai-infrastructure.md>), [ai-research](<https://devfeed.tech/tags/ai-research.md>), [data-infrastructure](<https://devfeed.tech/tags/data-infrastructure.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [kernels](<https://devfeed.tech/tags/kernels.md>), [llm](<https://devfeed.tech/tags/llm.md>), [meta](<https://devfeed.tech/tags/meta.md>), [ml-applications](<https://devfeed.tech/tags/ml-applications.md>), [networking](<https://devfeed.tech/tags/networking.md>), [recommendation-systems](<https://devfeed.tech/tags/recommendation-systems.md>), [training](<https://devfeed.tech/tags/training.md>)

### AI overview

Meta describes training its GEM ads recommendation foundation model at LLM scale. The article covers recommendation-specific kernels, ultra-low-precision training, and topology-aware parallelism that doubled end-to-end training efficiency to 20-25% MFU while increasing training FLOPs fourfold.

### Source excerpt

Meta's Generative Ads Recommendation Model (GEM), the foundation model behind ads recommendations across Instagram and Facebook, now trains at LLM scale on several thousand of the latest-generation GPUs. This post goes into the details on how we achieved: doubling end-to-end (E2E) training efficiency to 20-25% Model FLOPs Utilization (MFU) while scaling training FLOPs 4x in [...] Read More... The post GEM Training: How Meta Doubled the Efficiency of Its LLM-Scale Ads Foundation Model appeared first on Engineering at Meta.

## Exploring Hierarchical Interest Representation For Meta Ads Deep Funnel Optimization

DevFeed: [Exploring Hierarchical Interest Representation For Meta Ads Deep Funnel Optimization](<https://devfeed.tech/articles/exploring-hierarchical-interest-representation-for-meta-ads-deep-funnel-optimization-126.md>)

Original publisher: [Read original article](<https://engineering.fb.com/2026/07/15/ai-research/exploring-hierarchical-interest-representation-for-meta-ads-deep-funnel-optimization/>)

Author: Yuhui Ouyang; Di Wang; Sreedal Menon; Jie Tian

Published: 2026-07-15T17:00:52Z

Content type: article

Language: en

Sources: [Engineering at Meta](<https://devfeed.tech/sources/engineering-at-meta.md>), [Meta AI Research](<https://devfeed.tech/sources/meta-ai-research.md>)

Topics: [Optimization](<https://devfeed.tech/topics/optimization.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [Graphs](<https://devfeed.tech/topics/graphs.md>), [recommendation systems](<https://devfeed.tech/topics/recommendation-systems.md>), [LLMs](<https://devfeed.tech/topics/llms.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Transformer](<https://devfeed.tech/topics/transformer.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [ads](<https://devfeed.tech/tags/ads.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-research](<https://devfeed.tech/tags/ai-research.md>), [data](<https://devfeed.tech/tags/data.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [frontier-ai](<https://devfeed.tech/tags/frontier-ai.md>), [generative](<https://devfeed.tech/tags/generative.md>), [learning](<https://devfeed.tech/tags/learning.md>), [meta](<https://devfeed.tech/tags/meta.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [personalization](<https://devfeed.tech/tags/personalization.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [research](<https://devfeed.tech/tags/research.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [scale](<https://devfeed.tech/tags/scale.md>)

### AI overview

Meta describes Hierarchical Interest Representation, an upstream system that learns unified embeddings for users, advertisers, products, and services. It combines graph learning, multimodal content processed through LLMs, engagement signals, and self-supervised distillation to improve personalization, retrieval, ranking, and deep-funnel advertising optimization.

### Source excerpt

Hierarchical Interest Representation is a research area for Meta Ads. We're exploring an upstream representation layer over the universe of Ads entities - users, advertisers, products, services - learning unified embeddings that connect users' inferred interests with the breadth of what advertisers offer in their deep funnel ads. The innovations in Hierarchical Interest Representation are [...] Read More... The post Exploring Hierarchical Interest Representation For Meta Ads Deep Funnel Optimization appeared first on Engineering at Meta.

## Modernizing the Meta Ads Service With an Open-Source Kernel Scheduler

DevFeed: [Modernizing the Meta Ads Service With an Open-Source Kernel Scheduler](<https://devfeed.tech/articles/modernizing-the-meta-ads-service-with-an-open-source-kernel-scheduler-125.md>)

Original publisher: [Read original article](<https://engineering.fb.com/2026/07/13/ml-applications/modernizing-the-meta-ads-service-with-an-open-source-kernel-scheduler/>)

Author: Blaise Sanouillet; Sunyi Shao; Jeff Song; Gosh Arzumanyan; Shawn Wu; Tejun Heo; Praveen Sampath; GP Musumeci

Published: 2026-07-13T16:00:50Z

Content type: article

Language: en

Sources: [Engineering at Meta](<https://devfeed.tech/sources/engineering-at-meta.md>), [Meta ML Applications](<https://devfeed.tech/sources/meta-ml-applications.md>)

Topics: [Latency](<https://devfeed.tech/topics/latency.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Google](<https://devfeed.tech/topics/google.md>)

Tags: [engineering](<https://devfeed.tech/tags/engineering.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [latency](<https://devfeed.tech/tags/latency.md>), [linux](<https://devfeed.tech/tags/linux.md>), [meta](<https://devfeed.tech/tags/meta.md>), [ml-applications](<https://devfeed.tech/tags/ml-applications.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [performance](<https://devfeed.tech/tags/performance.md>)

### AI overview

Meta describes using the open-source, BPF-based sched_ext framework to create a Linux kernel scheduling policy tailored to its ads delivery workload. The approach addressed latency regressions associated with a kernel upgrade and produced lower tail latency, reduced power consumption, and a modest increase in ads ranked.

### Source excerpt

TL; DR At Meta's scale, a few milliseconds of latency degradation can have a significant negative impact on ads performance. When a Linux kernel upgrade risked regressing latency across Meta's ad serving fleet, we turned to sched_ext -- the upstream, BPF-based extensible scheduling framework -- to build a scheduling policy customized to the Ads delivery [...] Read More... The post Modernizing the Meta Ads Service With an Open-Source Kernel Scheduler appeared first on Engineering at Meta.