Re: [Tracker] From the client side



2008/11/21 Marko Anastasov <marko anastasov gmail com>:
Hey all,

A few questions:

In practice, pulling every single document's (whatever type) metadata
from Tracker over D-Bus is slow. For example it takes 10+s on my 2 yr
old machine to gather information for about ~1000 documents.
How do you see this problem?

Why is it that you need to do that? I mean in practice one should
never keep more than a "sliding window + cache" in memory on the
client side. Fx. the 15 visible documents + 30 backwards and forwards
for fast scrolling.

I really do not want to see that every time Paperbox starts any more,
so I think that I'm going to add a private SQLite database for caching
document information so that all documents can be displayed instantly,
while querying Tracker for updates will begin in the background.

Before you open that can of worms I think we need to figure what the
problem really is. Maybe it is with your angle of attack or maybe
Tracker's API needs a tweak... Could you describe your problem more
precisely?

I think that there must be a way to sync the metadata database
between desktops. It's just not good enough if copying a file on another
computer leaves you with blank metadata. I only have tags in my mind
now actually but what if Tracker actually stored other useful information
such as notes and reference URLs. So maybe an additional tool could
export the metadata database contents to some file, and on the other
desktop the tool would import the data for recognised files?

Have you seen: http://live.gnome.org/MetadataOnRemovableDevices ?

-- 
Cheers,
Mikkel



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