---
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=datadog&tag=refactoring"
---

# Posts

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

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

## 2026-06-23

- [How we migrated a live routing system using AI-assisted refactoring](https://swe.quest/articles/how-we-migrated-a-live-routing-system-using-ai-assisted-refactoring-db938ac15eae4cef.md): Datadog Engineering · 2026-06-23 · Medium · 13 min read · Refactoring & migrations, AI for coding, PostgreSQL, Schema migrations, Testing
  Datadog migrated Stream Router, the control plane that tells metrics producers and queriers which Kafka cluster, topic and partitions to use, from a FoundationDB key-value model to a relational schema.

## 2025-06-17

- [Breaking up a monolith: How we’re unwinding a shared database at scale](https://swe.quest/articles/breaking-up-a-monolith-how-we-re-unwinding-a-shared-database-at-scale-4f34dacf50e040a9.md): Datadog Engineering · 2025-06-17 · Medium · 20 min read · PostgreSQL, Schema migrations, Refactoring & migrations, Microservices, Replication
  Datadog is splitting its large shared Postgres database into independently owned instances through a three-phase plan: logical separation into per-domain private schemas with explicit ACLs, access reduction so only owning teams query their tables directly, and physical separation onto managed OrgStore instances.

## 2025-04-09

- [Squeezing every millisecond: How we rebuilt the Datadog Lambda Extension in Rust](https://swe.quest/articles/squeezing-every-millisecond-how-we-rebuilt-the-datadog-lambda-extension-in-rust-c788e8ecc0f0b212.md): Datadog Engineering · 2025-04-09 · Medium · 9 min read · Serverless, Rust, Performance engineering, Observability, Refactoring & migrations
  Datadog rewrote its AWS Lambda Extension from a Go build of the full Datadog Agent into a purpose-built Rust sidecar (Project Bottlecap), cutting cold start overhead from about 450 ms to 70 ms, memory from 128 MiB to 77 MiB, and binary size from 55 MB to 7 MB.

## 2024-05-23

- [How we migrated our static analyzer from Java to Rust](https://swe.quest/articles/how-we-migrated-our-static-analyzer-from-java-to-rust-8d2e3080358d7827.md): Datadog Engineering · 2024-05-23 · Medium · 8 min read · Rust, Static analysis, Refactoring & migrations, Performance engineering, Java & JVM
  Datadog rewrote the Codiga static analyzer from Java to Rust after switching its parser from ANTLR to Tree-sitter, whose Java bindings lacked features like pattern matching.

Same list as RSS: [https://swe.quest/feed.xml?source=datadog&tag=refactoring](https://swe.quest/feed.xml?source=datadog&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)
