Skip to content

SignalDB's local-first (lofi) story? #998

Answered by maxnowack
beorn asked this question in Q&A
Discussion options

You must be logged in to vote

Currently, SignalDB requires keeping the data of all collections in memory. This limitation will be addressed with the implementation of #397, which will allow asynchronous fetching of collection data. For now, SignalDB is better suited for smaller applications that don't need to handle large amounts of data. As you mentioned in #1008, it’s possible to use the AutoFetchCollection to pull data from asynchronous storage into SignalDB's memory, providing a workaround in the meantime.

When the client connects, syncing all the data is not required. You can selectively sync parts of the data or fetch only the changes based on a timestamp. This can be accomplished with a more advanced pull method

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by beorn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants