[Kolab-devel] Z-push optimization

Alain Abbas alain.abbas at libertech.fr
Fri Oct 1 13:36:04 CEST 2010


Hello

i ve got a big problem :
Each time that a mobile synchronize i must read all the annotations of
all the folders to know if a folder is for sync or not
i ve got some customers with big trees ( arround 300 folders in Inbox) 
become a bottleneck.

1) how to do not read at each time all the annotation folders ?
even if i cache some informations that become the hell
and i must know if the annotations are changed or not
to put or remove the folder to the sync

I thought to make that ,to make a special flag in the INBOX annotation a
counter :
If the user modify the annotation of one folder this number could be
incremented


STEPS :
1 when the user modify  an annotation  the  "ANNOVERSION"  is
incremented in the INBOX folder
Zpush would check this ANNOVERSION and compare with the old one
if ANNOVERSION is not equal Zpush read again the annotations

Stay now the problem of the user space where to put this ANNOVERSION ?

I think at this step we see the limitation for this method (annotations 
per folder) and a simple
list in LDAP should be
more efficient and simple .

I waiting your feedback and ideas to resolve this big performance issue
Alain

Regards





More information about the devel mailing list