[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nepomuk
Subject:    [Nepomuk] Live Queries
From:       Vishesh Handa <me () vhanda ! in>
Date:       2012-05-11 7:20:52
Message-ID: CAOPTMKCZ+PORoqM44V8Y-oC59miCCDaDTzpBLO9WCweOAxOHyQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hey Sebastian and Peter

I've noticed that in the latest git version of Dolphin, the side-bar has
been updated to show cool stuff like all your Documents, Music and even
stuff from timeline.

Each of these runs by passing a query to the query service client, which in
turn passes it the QueryService. The QueryService runs the query AND waits
for changes to the Nepomuk repository. The moment it notices that the
repository has changed, it re-runs ALL the queries.

This gives us absolutely horrible performance when listing a large number
of files. A typical example is listing all the music files when stuff is
being indexed. I have a small music collection, just around 35,000 songs.
Listing all them takes a lot out of Nepomuk and Dolphin. This will become
an even more serious issue when the Telepathy-Nepomuk Service is shipped.
It writes even the smallest change to Nepomuk, and that results in all the
queries being re-run.

Is there any way we can improve this?

I was hoping for some kind of 'live query' boolean parameter. Only the
queries with that parameter set will be re-run. For simple stuff like
querying all the music files or documents (or even Timeline) we could use
the ResourceWatcher.

What do you guys think?

-- 
Vishesh Handa

[Attachment #5 (text/html)]

Hey Sebastian and Peter<br><br>I&#39;ve noticed that in the latest git version of \
Dolphin, the side-bar has been updated to show cool stuff like all your Documents, \
Music and even stuff from timeline.<br><br>Each of these runs by passing a query to \
the query service client, which in turn passes it the QueryService. The QueryService \
runs the query AND waits for changes to the Nepomuk repository. The moment it notices \
that the repository has changed, it re-runs ALL the queries.<br> <br>This gives us \
absolutely horrible performance when listing a large number of files. A typical \
example is listing all the music files when stuff is being indexed. I have a small \
music collection, just around 35,000 songs. Listing all them takes a lot out of \
Nepomuk and Dolphin. This will become an even more serious issue when the \
Telepathy-Nepomuk  Service is shipped. It writes even the smallest change to Nepomuk, \
and  that results in all the queries being re-run.<br>
<br>Is there any way we can improve this?<br><br>I was hoping for some kind of \
&#39;live query&#39; boolean parameter. Only the queries with that parameter set will \
be re-run. For simple stuff like querying all the music files or documents (or even \
Timeline) we could use the ResourceWatcher.<br> <br>What do you guys think?<br \
clear="all"><br>-- <br><span style="color:rgb(192,192,192)">Vishesh \
Handa</span><br><br>



_______________________________________________
Nepomuk mailing list
Nepomuk@kde.org
https://mail.kde.org/mailman/listinfo/nepomuk


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic