Hello I am writing a desktop app connects to Anki. I have a question about synchronize algorithm.
The background is, my app will create a new note to Anki about every 1 minute, each note has picture and audio, so it’s about 50KB in total.
My plan is to synchronize Anki every time when a new note is added, through Anki Connect. My question is, does it create too much workload to the server?
I can see synchronize is slow, even though I only added 1 new note, it takes several seconds, much more than time needed to upload about 50KB data.
To my guessing, sync algorithm should be:
(a) scan/hash the difference between local and server, and only upload the difference to the server. In this case, workload to server is small in each sync in my case. It takes several seconds because local scan need time
Just want to make sure the algorithm is not:
(b) upload entire user data in every sync (of course I mean in normal sync, not forced upload)
Can anyone let me know sync is more like (a) or (b)? Many thanks!!!
One extra question about sync if possible. Anyone know how to hide the “Sync Complete” box after each sync? I only found an ugly way: before sync, move Anki outside window like (-10000,-10000), then move back after sync. Anyone bas a more elegant way?