Re: [Tracker] more issues with indexer-split



On Wed, 2008-09-03 at 15:31 +0100, Martyn Russell wrote:
Jamie McCracken wrote:
trackerd should just pass directories at startup and let the indexer
work out what to process. Dbus is not optimised for passing large number
of strings. Can the current design easily accommodate this?

DBus' optimisation is not an issue here. I can send ALL of my files over
quicker than the indexer can mtime check ALL the directories in the
database.

DBus only starts to perform bad as soon as message size grows over 4 kb
in size. In 4kb you can put quite a lot of uris.

Therefore I don't think we should focus on reducing the amount of uris
we send from the daemon to the indexer.

Yes we can accommodate this. We simply send all files/directories to the
indexer and the indexer can check each parent directory first then
process the files or discard them if the parent directory mtime is up to
date.


-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]