# Durable Streams – Kafka-style semantics for client streamin…

Hey, I'm a co-founder at ElectricSQL. Durable Streams is the delivery protocol underneath our Postgres sync engine—we've been refining it in production for 18 months. The core idea: streams get their own URL and use opaque, monotonic offsets. Clients persist the last offset they processed and resum…

- **Page:** https://magpie.gallery/i/durable-streams-kafka-style-semantics-for-client-s-vg2s
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Tags:** streaming, protocol, http, real-time, offsets

## Source

Web · kylemathews: Durable Streams – Kafka-style semantics for client streaming over HTTP

- **Original:** https://news.ycombinator.com/item?id=46209189

> Hey, I'm a co-founder at ElectricSQL. Durable Streams is the delivery protocol underneath our Postgres sync engine—we've been refining it in production for 18 months. The core idea: streams get their own URL and use opaque, monotonic offsets. Clients persist the last offset they processed and resume with "give me everything after X." No server-side session state, CDN-cacheable, plain HTTP. We kept seeing teams reinvent this for AI token streaming and real-time apps, so we're standardizing it as a standalone protocol. The repo has a reference Node.js server and TypeScript client. Would love to see implementations in other languages—there's a conformance test suite to validate compatibility. Happy to dig into the design tradeoffs—why plain HTTP over WebSockets, etc. https://github.com/durable-streams/durable-streams

## GitHub projects

- https://github.com/durable-streams/durable-streams

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
