3 ms·
Output gates block all output, including outgoing requests. That's why they are called "output gates" and not "response gates". We (Cloudflare) control the who
by kentonv 2y ago
Output gates block all output, including outgoing requests. That's why they are called "output gates" and not "response gates".
We (Cloudflare) control the whole runtime that Workers run in so it's pretty easy for us to hook every I/O mechanism in order to have it wait on the output gate.
- ec109685 2y agoIt’d be helpful to update the blog post to make that more clear. The example focused on “constructing the response” in parallel with making the write durable, so confusing it with a response gate is an easy mistake to make.