---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=meta&tag=refactoring"
---

# Posts

Filtered by topics: Refactoring & migrations, source: Meta Engineering.

Posts 1–13 of 13, page 1 of 1, newest first.

## 2026-05-12

- [Migrating Data Ingestion Systems at Meta Scale](https://swe.quest/articles/migrating-data-ingestion-systems-at-meta-scale-338df596ae05796f.md): Meta Engineering · 2026-05-12 · Medium · 9 min read · Data pipelines, Event-driven architecture, MySQL, Refactoring & migrations, Deployment
  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.

## 2026-04-09

- [Escaping the Fork: How Meta Modernized WebRTC Across 50+ Use Cases](https://swe.quest/articles/escaping-the-fork-how-meta-modernized-webrtc-across-50-use-cases-604586fd757c3181.md): Meta Engineering · 2026-04-09 · Hard · 10 min read · C & C++, Refactoring & migrations, Communications, Build systems, Version control
  Meta escaped a long-diverged internal WebRTC fork by statically linking two WebRTC versions into one binary behind a version-agnostic shim layer, which let it A/B test legacy and upstream stacks app-by-app across 50+ use cases.

## 2025-12-15

- [How AI Is Transforming the Adoption of Secure-by-Default Mobile Frameworks](https://swe.quest/articles/how-ai-is-transforming-the-adoption-of-secure-by-default-mobile-frameworks-acd819f6e0246488.md): Meta Engineering · 2025-12-15 · Medium · 10 min read · Mobile, Application security, AI for coding, Refactoring & migrations, API design
  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.

## 2025-08-11

- [Federation Platform and Privacy Waves: How Meta distributes compliance-related tasks at scale](https://swe.quest/articles/federation-platform-and-privacy-waves-how-meta-distributes-compliance-related-7d6db4209cfb8b19.md): Meta Engineering · 2025-08-11 · Medium · 9 min read · Privacy, Developer productivity, Engineering management, Refactoring & migrations
  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.

## 2024-12-18

- [Translating Java to Kotlin at Scale](https://swe.quest/articles/translating-java-to-kotlin-at-scale-3648a1737157b36f.md): Meta Engineering · 2024-12-18 · Medium · 13 min read · Java & JVM, Refactoring & migrations, Mobile, Static analysis, Developer tools
  Meta is translating roughly ten million lines of Android Java to Kotlin using the Kotlinator, an automated pipeline built around a headless version of JetBrains' J2K.

## 2024-12-10

- [Inside Facebook’s video delivery system](https://swe.quest/articles/inside-facebook-s-video-delivery-system-d5975357617c95f8.md): Meta Engineering · 2024-12-10 · Medium · 13 min read · Recommendations & ranking, Video & media, System design, Mobile, Refactoring & migrations
  Facebook spent roughly two years unifying its separate Watch and Reels stacks across mobile clients, the server layer and ranking, in a deliberate order.

## 2023-10-31

- [Automating data removal](https://swe.quest/articles/automating-data-removal-d163bb8b8352c57e.md): Meta Engineering · 2023-10-31 · Medium · 9 min read · Privacy, Databases, Static analysis, Refactoring & migrations
  Meta's SCARF framework includes a subsystem that finds and deletes unused classes of data, such as tables, storage use cases and TAO object types, across 21 data systems.

## 2023-10-24

- [Automating dead code cleanup](https://swe.quest/articles/automating-dead-code-cleanup-e03bc4ba07b5bf1c.md): Meta Engineering · 2023-10-24 · Medium · 7 min read · Static analysis, Refactoring & migrations, Developer productivity, Python
  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.

## 2023-10-17

- [Automating product deprecation](https://swe.quest/articles/automating-product-deprecation-9c964f5b3db1d6d5.md): Meta Engineering · 2023-10-17 · Medium · 10 min read · Refactoring & migrations, Developer productivity, Static analysis, Developer tools
  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.

## 2023-08-07

- [Fixit 2: Meta’s next-generation auto-fixing linter](https://swe.quest/articles/fixit-2-meta-s-next-generation-auto-fixing-linter-71b7e5da0973759e.md): Meta Engineering · 2023-08-07 · Medium · 6 min read · Static analysis, Python, Developer tools, Refactoring & migrations, Open source
  Fixit 2 is a partial rewrite of Meta's open-source Python auto-fixing linter, built on LibCST so rules can safely suggest and apply code replacements without regex or broken syntax.

## 2023-01-26

- [Tulip: Modernizing Meta’s data platform](https://swe.quest/articles/tulip-modernizing-meta-s-data-platform-bf66bcea6e73303c.md): Meta Engineering · 2023-01-26 · Medium · 9 min read · Data pipelines, Refactoring & migrations, Schema migrations, Analytics & OLAP, Testing
  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.

## 2022-10-24

- [From zero to 10 million lines of Kotlin](https://swe.quest/articles/from-zero-to-10-million-lines-of-kotlin-e0f9a5140a87605f.md): Meta Engineering · 2022-10-24 · Medium · 13 min read · Java & JVM, Refactoring & migrations, Mobile, Developer tools
  Meta has converted its Android codebase to over 10 million lines of Kotlin by wrapping JetBrains' J2K converter in an automated pipeline called Kotlinator.

## 2021-07-22

- [Migrating Facebook to MySQL 8.0](https://swe.quest/articles/migrating-facebook-to-mysql-8-0-5af9e565f1e50eea.md): Meta Engineering · 2021-07-22 · Medium · 11 min read · MySQL, Schema migrations, Replication, Refactoring & migrations, Testing
  Facebook moved its MySQL fleet from a heavily customized 5.6 branch straight to 8.0, skipping 5.7.

Same list as RSS: [https://swe.quest/feed.xml?source=meta&tag=refactoring](https://swe.quest/feed.xml?source=meta&tag=refactoring). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

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)
