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

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
G
Google Developers Blog
博客园 - 司徒正美
J
Java Code Geeks
aimingoo的专栏
aimingoo的专栏
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
D
Docker
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
腾讯CDC
V
Visual Studio Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Check Point Blog
M
MIT News - Artificial intelligence
Jina AI
Jina AI
I
InfoQ
雷峰网
雷峰网
The Cloudflare Blog
美团技术团队
Engineering at Meta
Engineering at Meta

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
Run UDP and WebSocket API tests to monitor latency-critic...
2021-11-11 · via Datadog | The Monitor blog

Datadog Synthetic Monitoring allows you to proactively monitor your applications so that you can detect, troubleshoot, and resolve any availability or performance issues before they impact your end users. With our API test suite, you can send simulated HTTP requests to your API endpoints, check the validity of SSL certificates, verify the performance and correctness of DNS resolutions, test TCP connections, and ping endpoints to detect server connectivity issues.

We’re excited to announce that you can now conduct UDP and WebSocket API tests to ensure that your real-time applications, such as customer support chat platforms and video streaming services, are always able to meet their low-latency requirements. In this post, we’ll provide an overview of the UDP and WebSocket protocols and show you the key features of our API tests.

Ensure the availability and responsiveness of applications that depend on UDP and WebSocket

UDP is a transport layer protocol and a faster alternative to TCP. Unlike TCP, UDP does not require a client and server to first establish a connection before messages can be sent over the network. Although the lack of acknowledgment from the recipient removes any possible guarantee that packets will be delivered successfully or in order, UDP does enable faster data transmission. This fast delivery makes UDP well-suited for applications that prioritize speed over reliability, such as Voice over Internet Protocol (VoIP) services or video conferencing platforms.

WebSocket, on the other hand, is an application layer protocol that facilitates bidirectional client-server communication over a single, persistent TCP socket connection. Keeping an open connection, instead of establishing a new one for each client request, lowers latency and allows data to be exchanged at any time. This persistent channel makes WebSocket ideal for real-time applications like customer support chat platforms, social media feeds, and multi-player games.

Datadog Synthetic Monitoring lets you test the availability and responsiveness of your applications by sending simulated messages to UDP server ports and opening WebSocket connections. You can configure these tests to run on demand or periodically from globally distributed managed locations as well as private locations within your internal network. And with Datadog Synthetic CI/CD Testing, you can execute these tests directly from within your CI/CD pipelines, allowing you to detect and troubleshoot issues early.

If you’re notified of a failed test, you can examine the breakdown of network timings and verify that the response message and headers are consistent with your expectations. You can also see if any assertions have failed, which can serve as the starting point for an investigation. For instance, if a server takes too long to respond when a WebSocket connection is being established, as shown in the screenshot below, you will want to check for server configuration and network issues.

WebSocket test failed because it exceeded its expected response time

Start creating UDP and WebSocket tests today

Our new UDP and WebSocket tests help you stay ahead of any potential issues with your latency-critical applications so that you can deliver the best end-user experience. See our documentation for more information on how to start creating these tests today. If you’re not yet using Datadog to monitor your applications and infrastructure, you can get started with a 14-day free trial.