Connect() – a new API for creating TCP sockets from Cloudflare Workers
As someone who built quite a bit of tech &#x2F; product on Workers &#x2F; Pages over the last year and a half or so, this (and some other announcements from this week) really excites me and I wish our timing had been better.<p>Not being able to meaningfully use any external services that didn’t support an HTTP &#x2F; fetch API was one of the biggest consistent pain points.<p>Arguably it was the one with the biggest negative architectural ramifications. Given how long (understandably) it has taken to move D1 forward in the ways that matter most (e.g. transaction support), this is a huge step towards production viability for a more diverse range of products.<p>When I left my company in April I had Cloudflare as a “glad I tried it, but not ready for production use &#x2F; that was a mistake” - this week has it back on my list for evaluation on whatever I do next.<p>Congrats to the Cloudflare team! I admire your intuition for what customers need and your willingness to compete with yourself on stuff like this (actively support other DB providers while building D1 - respect).