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

推荐订阅源

Martin Fowler
Martin Fowler
Microsoft Security Blog
Microsoft Security Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Vercel News
Vercel News
Y
Y Combinator Blog
D
DataBreaches.Net
IT之家
IT之家
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Hackread – Cybersecurity News, Data Breaches, AI and More
WordPress大学
WordPress大学
H
Help Net Security
GbyAI
GbyAI
C
Check Point Blog
L
LangChain Blog
小众软件
小众软件
T
The Blog of Author Tim Ferriss
MyScale Blog
MyScale Blog
G
Google Developers Blog
月光博客
月光博客
V
V2EX
M
MIT News - Artificial intelligence
博客园 - 叶小钗

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
Introducing Datadog's Next-Generation Rust-based Lambda E...
2024-12-03 · via Datadog | The Monitor blog

In 2021, we announced the release of the Datadog Lambda extension, a simplified, cost-effective way for customers to collect monitoring data from their AWS Lambda functions. This extension was a specialized build of our main Datadog Agent designed to monitor Lambda executions. Over time, we shifted our focus to addressing the specific needs of a resource-constrained environment like Lambda’s, where extension size, cold starts, and API integrations all have an impact on capturing logs, metrics, and traces efficiently within Lambda’s unique lifecycle.

With those factors in mind, we developed a low-overhead Rust-based next-generation Lambda extension. By leveraging Rust’s reliability, efficiency, and sustainability, our next-generation Lambda extension provides a faster, more resilient experience with reduced resource consumption, ensuring consistent performance and lower operational costs at scale.

In this post, we’ll look at how the new Rust-based Lambda extension helps improve Lambda function monitoring.

Enhanced performance and resource efficiency with Rust

One of the primary concerns of any serverless developer is minimizing the cold start latency of their functions. Because Lambda functions share CPU and memory resources with their extensions, it’s important to have an efficient, lightweight Agent that keeps any contributions to the duration of a cold start as short as possible.

Thanks to Rust’s unique memory management model, which enforces strict ownership and borrowing rules, our new Lambda extension minimizes resource overhead and limits cold starts by achieving memory efficiency without relying on a garbage collector. In fact, with the next-gen Lambda extension, we improved our average cold start time from around 450ms to approximately 50ms.

Unlike garbage-collected languages, where memory cleanup happens unpredictably during garbage collection cycles, Rust determines exactly when memory is freed at compile time. This allows us to tightly control memory allocation and deallocation, avoiding runtime pauses and reducing the latency that can negatively impact Lambda performance—making it an ideal fit for our Lambda extension. In fact, with our next-gen extension we were able to halve our overall memory overhead.

mem_overhead

Our next-gen extension is also purpose-built to work seamlessly with Lambda’s limited compute power and unique lifecycle. By optimizing CPU usage to occur primarily after the invoke phase, we reduced CPU consumption during execution, which allows the extension to run smoothly and without interruption. This approach decreases the overall billed duration and improves function response time.

Get started with the next-gen Lambda extension today

The next-generation Lambda extension provides you with custom and enhanced metrics, as well as real-time traces and function logs—all with minimal overhead and cold starts. The next-gen extension is automatically available after you follow the installation instructions for the Datadog Agent for AWS Lambda. To learn more about this extension, check out our documentation.

If you’re not already using Datadog, get started today with a 14-day free trial.