Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

The beauty of sync engines: ๐Ÿ“ update on one client ๐ŸŒ HTTP POSTs to API server ๐Ÿ—ƒ๏ธ API updates the DB ๐Ÿ“œ DB feeds changes to WAL (write ahead log) ๐Ÿ” sync engine picks up WAL and feeds data to subscribed clients ๐Ÿ’ป long polling clients update their own...

63,158 Aufrufe โ€ข vor 1 Jahr โ€ขvia X (Twitter)

12 Kommentare

Profilbild von Kyle Gill
Kyle Gillvor 1 Jahr

Why this is cool: - a single generic endpoint akin to a /graphql POST (define the schema, stuff just worksโ„ข๏ธ) - the server is still the source of truth in the DB - there's no loading status on the data, no Promise (ie no loading spinners) - multiplayer for free

Profilbild von Wonderchat
Wonderchatvor 2 Jahren

Automate up to 70% of your customer support today. Save time and help your users find answers quickly. Try now at

Profilbild von Zach McQuiston
Zach McQuistonvor 1 Jahr

But what if โœจeverything was database โœจ

Profilbild von Kyle Gill
Kyle Gillvor 1 Jahr

This demo is super cool! Love the concept of just dissolving everything away to run in the database server. Feels like it's the eventual end state of everything

Profilbild von jensen
jensenvor 1 Jahr

Built this one with sqlsync Can try it at

Profilbild von Kyle Gill
Kyle Gillvor 1 Jahr

Will definitely look into it!

Profilbild von Blake Rouse
Blake Rousevor 1 Jahr

Every other week we toy with the idea of starting an electric migration hahaha

Profilbild von Kyle Gill
Kyle Gillvor 1 Jahr

Haha yeah I need to wait until a stable release before I deal with another migration ๐Ÿ˜‚

Profilbild von Cruz
Cruzvor 1 Jahr

R u using zero

Profilbild von Kyle Gill
Kyle Gillvor 1 Jahr

This is Electric + Tanstack optimistic

Profilbild von whos your daddy
whos your daddyvor 1 Jahr

What are the advantages to this over an API writing to a WAL? Wouldn't this tightly couple your DB design to your business logic or is that not a big deal?

Profilbild von Kyle Gill
Kyle Gillvor 1 Jahr

The DB maintains the ACID rigamarole and queryability that a normal app benefits from so you can decide what things to sync I think is the idea. If a table doesn't need to be synced live you can still query it just fine but they run on the same pipes.

ร„hnliche Videos