Hacker News
Cloudflare Ships Inbound TCP and Full-Duplex gRPC on Workers During 'Agents Week'
Announced August 3 as part of Agents Week, Workers gain a `connect(socket)` handler that accepts inbound TCP sockets from Spectrum, the ability to route those sockets to gRPC servers in Durable Object Containers, and automatic gRPC-to-gRPC-web translation so a Worker can act as gRPC server or client using `@connectrpc/connect`. Unary and server-streaming APIs are supported, and sockets can be forwarded between Workers, Durable Objects and Containers in any language, across 330+ edge locations. It is private beta only with no public launch date — the stated use cases are real-time voice assistants and AI dictation, where persistent bidirectional connections matter more than request/response.
↳ Follow the thread