D1, Workers - 50-500ms Faster D1 REST API Requests
1y ago
Source
CloudflareD1, Workers - 50-500ms Faster D1 REST API Requestscloudflare.comUsers using Cloudflare's REST API to query their D1 database can see lower end-to-end request latency now that D1 authentication is performed at the closest Cloudflare network data center that received the request. Previously, authentication required D1 REST API requests to proxy to Cloudflare's core, centralized data centers, which added network round trips and latency. Latency improvements range from 50-500 ms depending on request location and database location and only apply to the REST API. REST API requests and databases outside the United States see a bigger benefit since Cloudflare's primary core data centers reside in the United States. D1 query endpoints like /query and /raw have the most noticeable improvements since they no longer access Cloudflare's core data centers. D1 control plane endpoints such as those to create and delete databases see smaller improvements, since they still require access to Cloudflare's core data centers for other control plane metadata.
You might also wanna read
Cloudflare Addresses CPU Performance Benchmarks for Workers Platform
Cloudflare investigated and responded to independent benchmarks by Theo Browne that showed Cloudflare Workers performing 3.5x slower than Ve
FLUX.2 [dev] API Provider Benchmark: Latency, Speed & Price Comparison
A benchmarking and comparison analysis of API providers serving the FLUX.2 [dev] model, measuring latency, generation time, and pricing acro
Cloudflare Python Workers Enhancements: Fast Cold Starts, Package Support, and uv Integration
Cloudflare has significantly improved its Python Workers platform with major enhancements including exceptionally fast cold starts, comprehe
Why edge AI is replacing cloud-first approaches for latency-sensitive applications
Edge AI is gaining traction as companies deploy AI applications closer to where data is generated and consumed—such as branch offices, retai

Comments
Sign in to join the conversation.
No comments yet. Be the first.