惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The Last Watchdog
The Last Watchdog
博客园_首页
Martin Fowler
Martin Fowler
S
SegmentFault 最新的问题
美团技术团队
小众软件
小众软件
V
V2EX
博客园 - Franky
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
Attack and Defense Labs
Attack and Defense Labs
S
Security Affairs
Simon Willison's Weblog
Simon Willison's Weblog
I
Intezer
T
The Exploit Database - CXSecurity.com
有赞技术团队
有赞技术团队
S
Schneier on Security
人人都是产品经理
人人都是产品经理
Security Archives - TechRepublic
Security Archives - TechRepublic
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
K
Kaspersky official blog
PCI Perspectives
PCI Perspectives
AI
AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
罗磊的独立博客
O
OpenAI News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
The Register - Security
The Register - Security
V
Vulnerabilities – Threatpost
GbyAI
GbyAI
博客园 - 【当耐特】
C
Cisco Blogs
大猫的无限游戏
大猫的无限游戏
Help Net Security
Help Net Security
Google DeepMind News
Google DeepMind News
S
Securelist
Application and Cybersecurity Blog
Application and Cybersecurity Blog
P
Proofpoint News Feed
博客园 - 三生石上(FineUI控件)
雷峰网
雷峰网
L
LangChain Blog
SecWiki News
SecWiki News
博客园 - 叶小钗
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V2EX - 技术
V2EX - 技术
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
J
Java Code Geeks
L
LINUX DO - 热门话题
Cisco Talos Blog
Cisco Talos Blog

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis Monitor Aruba Central in Datadog How we centralize and remediate risks with Datadog Case Management Accelerate incident response with Datadog and ServiceNow Monitor your application and network load balancer logs Understanding Karpenter architecture for Kubernetes autoscaling Tools for collecting metrics and logs from Karpenter Monitor Karpenter with Datadog What your product data is actually saying Key metrics for monitoring Karpenter Securing Datadog’s platform in the AI age: The role of observability data Four ways engineering teams use the Datadog MCP Server to power AI agents Approaching your observability migration with the right mindset Meet the new Bits AI SRE: Deeper reasoning, twice as fast Key learnings from the 2026 State of DevSecOps study Use plain English to query your multi-cloud infrastructure in Resource Catalog Simplifying troubleshooting across the user journey with Datadog Synthetic Monitoring Protect your OCI resources with Datadog Cloud Security This Month in Datadog - February 2026 Amazon EC2 security: How misconfigured and public AMIs expand your cloud attack surface Enable end-to-end visibility into your Java apps with a single command Measure and improve mobile app startup performance with Datadog RUM Evaluating our AI Guard application to improve quality and control cost Identify untested code across every level of your codebase Make use of guardrail metrics and stop babysitting your releases Monitor Versa Networks SD-WAN performance in Datadog Improve performance and reliability with APM Recommendations Remediate transitive vulnerabilities faster with Datadog Software Composition Analysis Generate audit-ready vulnerability and compliance reports with Datadog Sheets Monitor Fortinet FortiManager performance in Datadog Improve test coverage across codebases with Datadog Code Coverage Move fast, don’t break things: Consistent testing standards at scale Enrich logs with ServiceNow CMDB context before routing to any SIEM or logging tool Monitor Lustre with Datadog Make faster, better product decisions with Datadog Product Analytics Surface and remediate runtime posture issues with Workload Protection Findings Protect agentic AI applications with Datadog AI Guard How to optimize JavaScript code with CSS Trace Google Pub/Sub workloads in Cloud Run with Datadog Detect human names in logs with ML in Sensitive Data Scanner How we cut our NLQ agent debugging time from hours to minutes with LLM Observability Debug PostgreSQL query latency faster with EXPLAIN ANALYZE in Datadog Database Monitoring Datadog acquires Propolis Unify and correlate frontend and backend data with retention filters Scale compliance across global frameworks with Datadog Cloud Security Monitor Arista VeloCloud SD-WAN performance with Datadog Building reliable dashboard agents with Datadog LLM Observability Simplify log collection and aggregation for MSSPs with Datadog Observability Pipelines Mitigation for Node.js denial-of-service vulnerability affecting Datadog APM Automate flaky test fixes with the Bits AI Dev Agent and Test Optimization How we built an AI SRE agent that investigates like a team of engineers Datadog integrations 2025 recap: Observability for AI, security, and hybrid cloud Design effective executive dashboards with Datadog Implement dbt data quality checks with dbt-expectations Bring faster visibility into AWS Lambda functions with remote instrumentation Troubleshoot faster with the GitLab Source Code integration in Datadog How Cambia Health Solutions saved $30,000 monthly with Cloud Cost Management and the Datadog Resource Catalog Normalize any logs for Cloud SIEM with Datadog's OCSF processor Optimizing Datadog at scale: Cost-efficient observability at Zendesk Detect, diagnose, and resolve network issues easily with CNM Network Health Connect engineering errors to user impact in early-stage products Cilium configuration for Kubernetes operations at scale Designing feedback loops for progressive delivery Ship features faster and safer with Datadog Feature Flags Choosing the right OpenTelemetry Collector distribution Route your monitor alerts with Datadog monitor notification rules Automate Cloud SIEM investigations with Bits AI Security Analyst Cloud threat detection: How to identify risky activity across control and data planes Collecting Kafka performance metrics Monitoring Kafka with Datadog Monitoring Kafka performance metrics
How we used Datadog to save $17.5 million annually
Bowen Chen, Felix Geisendörfer · 2024-09-27 · via Datadog | The Monitor blog

Like most organizations, we are always trying to be as efficient as possible in our usage of our cloud resources. To help accomplish this, we encourage individual engineering teams at Datadog to look for opportunities to optimize. They can share their performance wins, big or small, in an internal Slack channel along with visualizations and, often, calculations of the resulting annual cost savings. There, these efforts can be seen and recognized by others, including our CEO and CTO, who regularly chime in and comment on performance wins.

At one point an engineer noted that, over the preceding two months, the shared wins added up to $17,500,000 saved annually on our cloud spend. In this post, we’ll look at how our engineering teams achieved this. Specifically, we’ll walk through how we foster an internal engineering culture that builds products that are both excellent and efficient, and how we rely on our own products—including Cloud Cost Management, Continuous Profiler, and Network Performance Monitoring—to track both performance improvements and cost savings so that everyone can see the impact their work has.

Datadog’s performance wins culture

In total, there were 15 performance optimizations that accounted for the $17.5 million in annual savings (plotted below), with the lowest optimization yielding $80,000 in annual cost savings and the highest optimization yielding $4.3 million.

15 optimizations recorded over a 2 month period saved us over $17.5 million annuallly.

Optimization efforts can come from many different places, including company- or team-wide initiatives or simply individual engineers seeing an opportunity to improve their systems. While the end goal is to maximize cost savings, the work put into our optimization involves tackling engineering problems and finding ways to improve performance at scale, and it’s important that we celebrate that work. Even the smallest improvements help drive and maintain our culture of performance optimization at Datadog. Many contributors cited other engineers’ performance wins as motivation and would often follow suit by sharing their own projects when completed.

While motivation and culture are driving factors for systemic improvement, engineers still need access to the proper tools to assist them in troubleshooting and monitoring their optimizations. In the following sections, we’ll discuss how CCM, Continuous Profiler, and NPM assist us in our investigations.

Visualize cloud spend with Cloud Cost Management

In order to establish a culture around cost optimization, it’s critical for engineers to have access to cloud cost data for two main reasons.

The first is to help estimate the cost savings of different optimization opportunities. Engineers come across inefficiencies every day—however, they have a limited bandwidth of work that they’re able to take on. Access to cloud cost data enables engineers to contextualize the cost savings of one optimization relative to its estimated time to completion as well as the cost savings of other potential optimizations.

Secondly, cloud cost data is essential because it enables an engineer to observe the impact of their optimization after it’s been shipped. Not all optimizations succeed, and cloud cost visibility helps engineers hold themselves accountable to the real impact they are delivering.

In order to achieve this, our engineers rely on Datadog Cloud Cost Management. CCM helps us visualize the amount a particular service is spending on compute, storage, networking, and other cloud resources across data centers and even multiple cloud providers, so we can precisely identify cost optimization opportunities. If an engineer needs ideas to help them get started, they can use the recommendations page to automatically sort optimizations by their potential savings and quickly identify changes that will yield the greatest business impact.

CCM’s recommendations page automatically highlights where your organization can be saving money on cloud resources.

In addition, CCM is able to group cloud costs by facets such as teams. This enables engineers to monitor changes specific to their team’s cloud spend and narrow down potential optimizations to the product areas they’re responsible for. From here, they can quickly identify week-over-week increases in costs that require more granular investigation. Scrolling down, they can see their team’s costs broken down by AWS usage type, so they can pinpoint the resources responsible for the spend.

Monitor cost change summaries for different teams.

After a cost optimization is shipped, they can continue to observe the cost change of the corresponding resources for a few weeks to assess the results. To estimate the annual cost savings for an optimization, we extrapolate this data linearly over a one-year period. While our optimizations may pay greater than linear dividends over multiple years, our systems and environment are subject to constant change, so we can never be certain how long an optimization will last. It’s OK that these estimates come with room for error—their purpose is to give us a general grasp of how successful our optimization was rather than provide perfectly accurate financial data.

Reduce CPU and Memory with Continuous Profiler

As your organization and systems grow, a significant amount of your cloud spend will be used on provisioning CPU and memory. This is especially true at Datadog, where we provision a vast number of hosts to collect over 100 trillion events each day. So in order to optimize the resource usage for our systems, our engineers need to break down the CPU and memory usage to specific functions and lines of code.

To accomplish this, we use the Datadog Continuous Profiler to break down each service by execution times, allocated memory, and other performance metrics in flamegraph visualizations. For example, after our engineers use CCM to identify services with week-over-week cost increases (as we previously discussed), they can navigate to the service’s CPU profile to optimize its CPU costs. In one of our performance optimizations, we were able to identify an expensive and extraneous feature flag evaluation that was exhausting 1.5 percent of our metrics intake platform’s CPU profile.

We also use CPU profiles to identify inefficient algorithms, such as an expensive metrics aggregation calculation discovered in one of our performance wins. After reworking this calculation, we were able to increase the CPU efficiency of our service and downsize the number of active replicas needed to handle production traffic, helping us reduce costs.

Another issue we’ve encountered is a high amount of CPU time being spent on garbage collection.

Identify inefficient garbage collection using CPU profiles.

Sometimes, this can be solved by tuning the garbage collector’s settings, but it may also require investigating the service’s allocated memory profile for potential optimizations that can reduce the frequency of garbage collection.

Reduce the frequency of garbage collection by investigating allocated memory.

If we notice that a service’s memory utilization is much higher than its CPU utilization, we’ll navigate to the service’s live heap profile, which breaks down its memory usage. In the following example, we notice that the NewVehicle function has allocated 1 GiB of retained heap memory relative to the average heap live size of 1.15 GiB.

Troubleshoot memory usage with live heap profiles.

Finally, we’ve run into cost issues when high-throughput services encounter bottlenecks due to contention or undersized thread pools. To debug these situations, our engineers rely on the Profiler’s Thread Timeline, which correlates resource consumption to thread activity, thread interactions, and other runtime activity.

In the following example, our Go service llm-classifier is bottlenecked by the LLMMessageWorker thread pool, which is spending most of its time waiting on LLM responses. We can see that upstream services are attempting to send messages downstream (annotated in yellow) to LLMMessageWorker, while the downstream PublishMessageworker pools remain mostly idle (annotated in gray). By scaling up the number of goroutines in the LLMMessageWorker pool, we should be able to resolve the current bottleneck and increase the throughput of our service.

Identify underutilized worker pools with our Thread Timeline feature.

While Continuous Profiler can identify a wealth of cost-saving opportunities, engineers need to weigh potential savings against the work required to solve a performance expense. Even small changes to your environment can yield large cost savings if you’re able to correctly identify these opportunities. For example, by enabling our profile-guided optimization feature for Go, we were able to save an estimated $250,000 annually by adding a single addition to our CI pipeline build that helps the Go compiler run machine code tailored to our specific workloads.

In addition to the cloud spend of individual services, how they interact with one another and outside services can greatly impact your overall cloud spend. Datadog Network Performance Monitoring gives our engineering teams visibility into network traffic between services, containers, availability zones, and more.

Using NPM, we discovered that roughly two-thirds of all data fetched by our applications were stored in different availability zones than the one hosting the application. This data transfer across availability zones can be very expensive, possibly even more so than hosting hundreds of Kubernetes clusters and various databases.

Using NPM, we were able to identify cross-AZ traffic to verify our optimization worked.

In order to address this cost, our engineers set up additional rack awareness configurations for our Kafka clients in the form of the client.rack identifier. The same data is stored in multiple availability zones—if an issue occurs in one availability zone, services should remain available by accessing data stored in a different region. With rack awareness configured, both client and server have knowledge of which availability zone they belong to. By enabling client.rack, our services were able to prioritize fetching data from a server located in the same availability zone if possible. Configuring this feature for our usage platform in our US1 region helped us to greatly reduce data consumption across availability zones and save an estimated $630,000 annually.

Optimize your cloud spend with Datadog

To start reducing your cloud spend, consider how your organization promotes and enables cost optimization work through culture and observability tooling. See our documentation to learn more about using CCM, the Continuous Profiler, and NPM. Read more about Datadog’s engineering culture and take an in-depth look at different engineering solutions in our engineering blog.

If you don’t already have a Datadog account, sign up for a free 14-day trial today.