need help for an offline-first CRDT sync architecture #924
Unanswered
amirhosseinadev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I'm in the design phase for a sync feature in an offline-first flashcard app I'm building with Next.js and json-joy. The app needs to support manual, multi-device sync via cloud storage (like Google Drive) and must be performant as a user's dataset grows to 100,000+ flashcards. My initial thought was to use a single, large CRDT Model for the entire user dataset, but my early benchmarks have raised significant performance concerns with this approach.
I'm now re-evaluating and would be very grateful for some guidance and ideas for this scenario. my main question is what your recommendations are to handle large datasets and keep them conflict free.
my data structure currently looks like this. this is my dexie.js input:
Beta Was this translation helpful? Give feedback.
All reactions