A Socket API that works across JavaScript runtimes — announcing a WinterCG spec and Node.js implementation of connect()
September 28, 2023 2:00PM
Engineers from Cloudflare and Vercel have published a specification of the connect() sockets API for review by the community, along with a Node.js compatible implementation of connect() that developers can start using today...
Continue reading »
Unbounded memory usage by TCP for receive buffers, and how we fixed it
May 25, 2023 4:31PM
TCP
Deep Dive
We are constantly monitoring and optimizing the performance and resource utilization of our systems. Recently, we noticed that some of our TCP sessions were allocating more memory than expected. This blog post describes in detail the root cause of the problem and shows the test results of a solution...
Announcing connect() — a new API for creating TCP sockets from Cloudflare Workers
May 16, 2023 2:00PM
Developer Week
Cloudflare Workers
TCP
sockets
Database
Today, we are excited to announce a new API in Cloudflare Workers for creating outbound TCP sockets, making it possible to connect directly to databases and any TCP-based service from Workers...
When the window is not fully open, your TCP stack is doing more than you think
July 26, 2022 2:00PM
Linux
TCP
In this blog post I'll share my journey deep into the Linux networking stack, trying to understand the memory and window management of the receiving side of a TCP connection...
A July 4 technical reading list
July 04, 2022 1:55PM
Reading List
Cloudflare Radar
Linux
TCP
Hertzbleed
Here’s a short list of recent technical blog posts to give you something to read today...
July 01, 2022 2:00PM
Optimizing TCP for high WAN throughput while preserving low latency
In this post, we describe how we modified the Linux kernel to optimize for both low latency and high throughput concurrently...