← All projects
Project record1 mention
Originally shared on Hacker News

YSQL

A concept bringing CRDTs (Yjs) to SQLite and Postgres, using the same CRDT for both front-end data structures and backend database merging to support real-time and offline async collaboration. The plan is to build simple primitives first, then layer a SQLite (WASM in browser) <-> Postgres sync system on top for local copying and modification of datasets, with proof-of-concept repositories for SQLite and Postgres.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. YSQL

    A concept bringing CRDTs (Yjs) to SQLite and Postgres, using the same CRDT for both front-end data structures and backend database merging to support real-time and offline async collaboration. The plan is to build simple primitives first, then layer a SQLite (WASM in browser) <-> Postgres sync system on top for local copying and modification of datasets, with proof-of-concept repositories for SQLite and Postgres.

    Posted by @samwillis · Original source ↗

    Source text · @samwillis · · Source ↗

    Evenings: Building out a concept for a "YSQL" bringing CRDTs (Yjs) to SQLite and Postgres. CRDTs are great for real-time, but also awesome for offline async collaboration. Using the same CRDT for both front end data structures and backend database merging seems to me to be a good combination. The plan is to build out some simple primitives first, then layer a SQLite (WASM in browser) <-> Postgres sync system on top for local copying and modification of datasets.