Hi,

I've been using the openSM2sync protocol on my own database instead of on toy 
databases. My database contains 8000 cards, 250 000 repetitions and weighs in 
at 30 Mb.

First, in order to make the initial sync snappy, I've implemented the 
possibility of just downloading the binary of the database for that case. (The 
server mechanism can be easily extended to support clients which use another 
database format, like the iPhone or the Android client, BTW.)

Another thing I noticed during these real life tests, is that, although a 
typical daily sync still takes a few seconds, the backup of the 30 Mb database 
before sync now becomes the most time consuming step, at several minutes! 
Writing to an SD card seems really slow on my old WM phone, and it would be 
interesting to know whether the same is true e.g. on Maemo.

Anyhow, as a way around this, I've added the option that a client just 
downloads the cards, and not the historical data of the 250 000 reps. The WM 
client does not do historical statistics anyway, so they're useless there. In 
that case, the database shrinks to a few Mb, and the backup takes 20 sec. I've 
also added the option to disable backup before sync altogether, but I would 
not recommend this, certainly at this stage :-)

A final thing I've noticed is that doing reviews seems to eat a lot of battery 
power. Again, this is most likely due to saving the database to the SD card 
after every repetition. I've added an option to only save after N reps, and 
that certainly seems to help.

Next up, some bugfixing and cleanup, and then working on the mechanism that 
will allow you to use an arbitrary number of devices and servers, where you 
can safely sync them in any order or combination without losing data.

Cheers,

Peter 

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/mnemosyne-proj-users?hl=en.

Reply via email to