Scaling Linear's Sync Engine

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • wa-sqlite

    WebAssembly SQLite with experimental support for browser storage extensions

  • I have a genuine appreciation for how Linear has built this. We have had to build something similar for our note taking application (Reflect). It is very tricky to do and I wish there was more research on this.

    In my opinion, what we need is:

    1) A client-side performant SQLite database that supports live queries. I.e. you can automatically re-render the page when the queries change. That way your database can drive the UI and be the source of truth in regards to what's displayed on the screen.

    2) A separate realtime syncing protocol that syncs database state to client state.

    And ideally this is all open source, and that these two endeavors are not coupled tightly.

    [1] Wa-sqlite is the best (imo) client-side db - better than than the official Sqlite WASM build (for now) because it had a indexeddb fallback for browsers that aren't the cutting edge Chrome.

    [2] cr-sqlite is an interesting project using CRDTs to sync state around. However I still believe that for many production use-cases you want a ultimate server source of truth.

    [3] Replicache is still the best closed source solution I know of.

    [1] - https://github.com/rhashimoto/wa-sqlite

  • cr-sqlite

    Convergent, Replicated SQLite. Multi-writer and CRDT support for SQLite

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • electric

    Local-first sync layer for web and mobile apps. Build reactive, realtime, local-first apps directly on Postgres.

  • ElectricSQL are in this space, and have the concept of a central source of truth. SQLite in the browser and Postgres on the server.

    https://electric-sql.com/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Loro Now Open Source: Reimagine State Management with CRDTs

    3 projects | news.ycombinator.com | 13 Nov 2023
  • Cloudflare acquires PartyKit to allow developers to build real-time multi-user

    3 projects | news.ycombinator.com | 5 Apr 2024
  • Ask HN: Wa-SQLite vs. Dexie, 2024

    2 projects | news.ycombinator.com | 30 Mar 2024
  • Show HN: RemoteStorage – sync localStorage across devices and browsers

    6 projects | news.ycombinator.com | 12 Jan 2024
  • A future for SQL on the web (2021)

    4 projects | news.ycombinator.com | 31 Dec 2023