Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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 görüntüleme • 1 yıl önce •via X (Twitter)

12 Yorum

Kyle Gill profil fotoğrafı
Kyle Gill1 yıl önce

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

Wonderchat profil fotoğrafı
Wonderchat2 yıl önce

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

Zach McQuiston profil fotoğrafı
Zach McQuiston1 yıl önce

But what if ✨everything was database ✨

Kyle Gill profil fotoğrafı
Kyle Gill1 yıl önce

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

jensen profil fotoğrafı
jensen1 yıl önce

Built this one with sqlsync Can try it at

Kyle Gill profil fotoğrafı
Kyle Gill1 yıl önce

Will definitely look into it!

Blake Rouse profil fotoğrafı
Blake Rouse1 yıl önce

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

Kyle Gill profil fotoğrafı
Kyle Gill1 yıl önce

Haha yeah I need to wait until a stable release before I deal with another migration 😂

Cruz profil fotoğrafı
Cruz1 yıl önce

R u using zero

Kyle Gill profil fotoğrafı
Kyle Gill1 yıl önce

This is Electric + Tanstack optimistic

whos your daddy profil fotoğrafı
whos your daddy1 yıl önce

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?

Kyle Gill profil fotoğrafı
Kyle Gill1 yıl önce

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.

Benzer Videolar