---
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=cost-optimization"
---

# Posts

Filtered by topics: Cost optimization, source: Datadog Engineering.

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

## 2026-06-02

- [From single pull requests to full software packages: Detecting malicious code at scale](https://swe.quest/articles/from-single-pull-requests-to-full-software-packages-detecting-malicious-code-at-717a58a001a046a1.md): Datadog Engineering · 2026-06-02 · Medium · 12 min read · Supply chain security, Threat detection, AI agents, LLMs, Cost optimization
  Datadog extended BewAIre, its LLM-based malicious code detector, from pull requests to full dependency packages by stacking a cheap filter model in front of an agentic investigation model.

## 2025-09-18

- [From hand-tuned Go to self-optimizing code: Building BitsEvolve](https://swe.quest/articles/from-hand-tuned-go-to-self-optimizing-code-building-bitsevolve-65732e9f0f979e91.md): Datadog Engineering · 2025-09-18 · Medium · 17 min read · Performance engineering, Go, AI agents, Cost optimization, Compilers
  Datadog cut CPU in Go hot paths by removing compiler bounds checks in NormalizeTag (25% faster, 0.75% service CPU) and adding an ASCII fast path to NormalizeTagArbTagValue (90% faster, hundreds of thousands of dollars in projected annual savings), guided by production data showing nearly all inputs were ASCII.

## 2025-08-12

- [Scaling down to speed up: How we improved efficiency of live process metrics by 100x](https://swe.quest/articles/scaling-down-to-speed-up-how-we-improved-efficiency-of-live-process-metrics-by-db520ecc99ab0c49.md): Datadog Engineering · 2025-08-12 · Medium · 8 min read · Observability, Scaling, Cost optimization, Queues & messaging, System design
  Datadog cut real-time process and container metric traffic by about 100x by enabling 2-second live collection only on hosts whose processes a user is actually viewing (at most 50 per user), instead of on every host in the tenant.

## 2024-09-23

- [How we optimized LLM use for cost, quality, and safety to facilitate writing postmortems](https://swe.quest/articles/how-we-optimized-llm-use-for-cost-quality-and-safety-to-facilitate-writing-0fb0adf546328aa2.md): Datadog Engineering · 2024-09-23 · Medium · 13 min read · LLMs, Evaluation, Incidents & postmortems, Cost optimization, Privacy
  Datadog's Bits AI drafts incident postmortems by feeding structured Incident Management metadata and scrubbed Slack discussions into a mix of GPT-3.5 and GPT-4 models, one query per template section.

## 2022-05-12

- [How Datadog’s IT team automated account inactivity and SaaS spend management](https://swe.quest/articles/how-datadog-s-it-team-automated-account-inactivity-and-saas-spend-management-ab71bc7240eb358a.md): Datadog Engineering · 2022-05-12 · Medium · 11 min read · Identity & auth, Cost optimization, Serverless, Python, Microservices
  Datadog extended its Clarity tool into Clarity License Manager, a set of Python AWS Lambda microservices backed by Postgres on RDS.

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