Notebooks for iPhone Answers

Is there a plan to speed up the DB sync process

Jack, May 06, 2011 08:29

The DB sync process is relatively slow.

Alfons Schmid, May 06, 2011 10:36

Hi Jack,

when NB synchronizes with DB, it is not just exchanging a few database entries. It needs to check its own contents (which is relatively easy) and the contents of DB, where changes, additions or deletions can have happened in all directories and on all documents. This takes a little while. Apart from that, the performance of the sync process depends on several factors, especially

- the speed and quality of the network connection
- the number of books/documents to sync
- the size of the documents to be transferred

However, there are a few tips that can help speed up the process: it is not always necessary to sync the whole contents of NB, and you are free to start sync from any book and limit the process to the contents of that book only. So it is hardly necessary to sync from the top level, but instead you can do so from a book that you have just changed.

That being said, we are still trying to improve the synchronization and see if there is a way to reliably sync automatically or in the background.

Best,
Alfons

Jack, May 08, 2011 12:06

Hi Alfons,

Thanks for your detailed response. I understand that the process is really time consuming as a true synchronization between DB and NB is the target of this application. In fact, the true synchronization is not archived yet:
1. Resolvable changes among DB and NB should be merged automatically.
2. Tasks status change independently among devices.
3. Real conflict in note ( both sides change in the same location ) should be resolved by user explicitly. The overwrite mechanism by the newly version in one side is simple but may cause date lost

Anyway, thanks for your team to bring such wonderful application to iPhone platform.