---
title: "Journey to 1000 models: Scaling Instagram’s recommendation system"
description: "Instagram scaled to over 1000 production ML ranking models across surfaces and funnel stages (retrieval, early- and late-stage ranking) by building three pieces of infrastructure."
url: "https://swe.quest/articles/journey-to-1000-models-scaling-instagram-s-recommendation-system-56a453486f99e155"
canonical: "https://engineering.fb.com/2025/05/21/production-engineering/journey-to-1000-models-scaling-instagrams-recommendation-system/"
source: "Meta Engineering"
published: "2025-05-21"
difficulty: "medium"
kind: "Case study"
reading_minutes: 16
tags: ["ml-platform","recommendation-systems","capacity-planning","observability","deployment"]
---

# Journey to 1000 models: Scaling Instagram’s recommendation system

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2025-05-21, 16 min read, Case study. Original: [https://engineering.fb.com/2025/05/21/production-engineering/journey-to-1000-models-scaling-instagrams-recommendation-system/](https://engineering.fb.com/2025/05/21/production-engineering/journey-to-1000-models-scaling-instagrams-recommendation-system/)

## Summary

Instagram scaled to over 1000 production ML ranking models across surfaces and funnel stages (retrieval, early- and late-stage ranking) by building three pieces of infrastructure. A model registry on Configerator records model type and GSI-style criticality tiers and drives automated monitoring and alerting. A launch platform uses offline load tests replaying recorded traffic plus a capacity formula, and enforces per-team quotas through virtual pools, cutting launch time from days to hours. A model stability metric measures prediction accuracy and backs SLOs for every registered model, giving a single view of ML health across product surfaces.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [ML platforms](https://swe.quest/tags/ml-platform.md) (AI & ML)
- [Recommendations & ranking](https://swe.quest/tags/recommendation-systems.md) (AI & ML)
- [Capacity planning](https://swe.quest/tags/capacity-planning.md) (Reliability & operations)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)

## Prerequisites

- recommendation ranking funnels ([easy posts on Recommendations & ranking](https://swe.quest/tags/recommendation-systems.md?difficulty=easy))
- SLOs and on-call ([easy posts on Incidents & postmortems](https://swe.quest/tags/incident-response.md?difficulty=easy))
- capacity planning basics ([easy posts on Capacity planning](https://swe.quest/tags/capacity-planning.md?difficulty=easy))

## Keywords

Instagram, Configerator, SLICK, model registry, Global Service Index

## Related posts

- [Meta Adaptive Ranking Model: Bending the Inference Scaling Curve to Serve LLM-Scale Models for Ads](https://swe.quest/articles/meta-adaptive-ranking-model-bending-the-inference-scaling-curve-to-serve-llm-b02b370caa05f2c4.md): Meta Engineering · 2026-03-31 · Hard · 9 min read · Recommendations & ranking, Inference & serving, Ads, Performance engineering, Hardware
  Meta Adaptive Ranking Model serves LLM-scale ads ranking models (O(10 GFLOPs) per token, O(1T) parameters) at O(100 ms) latency by routing each request to an appropriately complex model and computing user signals once per request instead of once per ad candidate.
- [Design Once, Deploy at Scale: Building a Template-Driven ML Ecosystem](https://swe.quest/articles/design-once-deploy-at-scale-building-a-template-driven-ml-ecosystem-45ef241053332201.md): Meta Engineering · 2026-11-18 · Easy · 8 min read · ML platforms, Recommendations & ranking, Ads, AI agents
  Meta standardized its fragmented ads ranking model fleet into a small set of Standard Model Templates (SMT).
- [Shopify's Playbook for Scaling Machine Learning](https://swe.quest/articles/shopify-s-playbook-for-scaling-machine-learning-01ef31091481dd96.md): Shopify Engineering · 2022-02-11 · Easy · 12 min read · ML platforms, Machine learning, Threat detection, E-commerce
  Shopify's approach to scaling machine learning grew out of its first ML product, an order fraud detector that replaced a rule-based system with a high false-positive rate.
- [How Meta Uses AI Agents to Scale ML Innovations Across Ads Ranking Models](https://swe.quest/articles/how-meta-uses-ai-agents-to-scale-ml-innovations-across-ads-ranking-models-28ddfb209a194469.md): Meta Engineering · 2026-11-18 · Easy · 10 min read · AI agents, Recommendations & ranking, Ads, ML platforms, Model training
  Meta uses AI agents to propagate proven ranking-model techniques (e.g. Wukong layers, Interformer, training optimizations) across a large, heterogeneous fleet of ads ranking models, where a technique rarely transfers without adaptation.
- [ML based ranking using Nrtsearch](https://swe.quest/articles/ml-based-ranking-using-nrtsearch-7c7a1334adf546d5.md): Yelp Engineering · 2026-09-16 · Medium · 8 min read · Search, ML platforms, Inference & serving, Recommendations & ranking, Deployment
  Yelp moved ML-based ranking out of a standalone scoring service and into Nrtsearch, its Lucene-based search engine, via an Inference Plugin that extracts features from indexed documents and request parameters and scores them in-process on replica nodes.

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)
