Auto Save
For example, if I am creating something like a notes app, that syncs on mobile and web
Should I just keep saving with debounce? Or do I need to do anything else for optimization?
coz there can be a lot of write queries and ready queries (I mean for this, I don't do much, it's a single endpoint, but still it will keep fetching more data on the websocket) on both sides
4 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
hello any updates on this?
AFAIK that's how the current TipTap Prosemirror sync works.
You just cannot go over 1Mb database document size. You can also split the notes into two tables one that contains metadata like title description and second one just for content in order to optimize the list queries.
gotcha,, thank you