Skip to content

Ask HN: Resources on Building a Syncing Engine?

4 points_fqqr4 comments
On HN

Hi everyone, I'm building your standard CRUD app as a toy project to explore some fields I'm interested in.

My goal is to make the app local-first with the option to synchronize to a central server and other devices. The data should also be E2E encrypted, meaning that users should input their passwords in order to decrypt the data downloaded from the server.

What I'm asking in this question are resources on how to learn anything relevant to the problem at hand. Good resources on CRDTs, distributed systems, etc., you name it.

I'm also not looking for finished products themselves (e.g. Couchbase or CouchDB), as my goal is to learn this stuff and implement myself a sync engine specific to my app. However I'd love to read resources about the implementation behind these products.

Thanks!

Comments

Good luck, you're attacking one of the hardest problems of computer science!

Sorry I don't have anything substantial to offer except my encouragements.

_fqqrOP

Haha, that's what makes it exciting to see what I can come up with

Martin Kleppmann has a few talks on this topic, including specifically CRDTs.

_fqqrOP

Thanks! I'll take a good look. For now I've been initiating on his book and a few blog posts

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.