Questions about sync

Operating system

Android

Joplin version

3.3.8

Sync target

WebDAV

Editor

Markdown Editor

What issue do you have?

  1. Is the E2EE using block cypher? I can see many small json files, may be based on the master key's bit size, you may not encrypt a note to an encrypted result and then split it into small pieces? But if you save as json, you can put it into array, right?

  2. I'm not quite sure how do you trigger a sync process. Does it upload all encrypted notes every time? Or you compare with an index data to the notes. For example, every note bind with an id and it's hash. If the hash changed, sync it based on the changed timestamp.

  1. Does this information on the Joplin encryption spec help? Encryption | Joplin

  2. According to this page, "Joplin will background sync automatically after any content change is made on the local application". Synchronisation | Joplin

Thanks for the reply.
Are you sync the data in parallel? If so, it solves the performance, if not, there are a lot amount of files waiting to sync.
In the document, it mentioned 'trunk', is it able to config the trunk size in the future? For example, 256k, 4M.

Sorry I do not have the knowledge to answer your question. Maybe a developer can help. I am just a long time user that helps out on the forum. However I have found this post where the project maintainer responds to a question about making the synchroniser parallel. The post is now a few years old. There may have been improvements since.