|
|
|
|
|
by jtwaleson
387 days ago
|
|
I have a first attempt at a sync engine for my app, but it's very primitive. Just a websocket that sends updates based on database triggers. If you miss one, you have to do a full reload. I know I'll need something better in a year or so. Any advice on what route to take with creating a sync engine for a product like mine? Self-hosted, single binary web app (Rust) + Postgres db. Frontend is based on VueJS. I've looked at the readme of Yjs and was considering that. I'm a solo dev for now. I'm tempted to feed Cursor this description of the reverse engineered solution of Linear, but I doubt it'll be successful. |
|
Look into these as well:
https://www.typeonce.dev/article/how-to-implement-a-sync-eng...
https://www.sandromaglione.com/newsletter/lessons-from-imple...
Same author, not necessarily sure why it's on two different domains with different content but they open sourced their sync engine. If you're interested in this topic, I'd follow. Their newsletter as they have great stuff.