Tandem
Tandem is an open-source sync engine and client-side database, MIT licensed, that embeds into existing frontend and backend code to sync data in real time across clients and server without deploying new services. It supports any React-based frontend, serverful backends, and SQL-like databases via adapters, and uses Deterministic Simulation Testing (Gatekeeper) on every PR and nightly for correctness.
What it addresses
Existing sync engine companies and full-stack databases require migrating to their database or provisioning a separate service with auth, networking, etc., making them annoying to maintain and harder to adopt incrementally.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Tandem
Tandem is an open-source sync engine and client-side database, MIT licensed, that embeds into existing frontend and backend code to sync data in real time across clients and server without deploying new services. It supports any React-based frontend, serverful backends, and SQL-like databases via adapters, and uses Deterministic Simulation Testing (Gatekeeper) on every PR and nightly for correctness.
Problem: Existing sync engine companies and full-stack databases require migrating to their database or provisioning a separate service with auth, networking, etc., making them annoying to maintain and harder to adopt incrementally.
Posted by @tanishqkanc · Original source ↗
Story title · @tanishqkanc · · Source ↗
Show HN: Realtime sync engine without any new infra
Submitted URL · @tanishqkanc · · Source ↗
https://github.com/tanishqkancharla/tandem
Source text · @tanishqkanc · · Source ↗
Tandem is an open-source sync engine and client-side database that plugs into your existing infrastructure. Add the Tandem library to sync data in real time across your clients and server, without deploying any new services.
Source text · @tanishqkanc · · Source ↗
Tandem is designed to just be embedded into your existing frontend and backend code. You define a schema, set up a database adapter (any SQL-like database is supported), add the new sync endpoint to your existing API, and then you're good to go.
Source text · @tanishqkanc · · Source ↗
Even now, sync engine companies and “full-stack databases” need you to migrate to their database or provision a separate service with auth, networking, etc. This makes them annoying to maintain and also harder to adopt incrementally.
Source text · @tanishqkanc · · Source ↗
I started work on Tandem 6 years ago as a side project. I was frustrated by the sync engine landscape at the time, thinking I could build a better DX and require less lock-in.
Source text · @tanishqkanc · · Source ↗
Tandem uses DST (Deterministic Simulation Testing) on every PR and nightly to ensure correctness. Our DST system Gatekeeper lets us model not only storage and network failures, but also race conditions, by gating each call between client/server/other services independently.
Source text · @tanishqkanc · · Source ↗
Open-source and MIT licensed: https://github.com/tanishqkancharla/tandem