Re: [Tracker] Queueing sparql requests
- From: Martyn Russell <martyn lanedo com>
- To: Lionel Landwerlin <lionel g landwerlin linux intel com>
- Cc: Tracker List <tracker-list gnome org>
- Subject: Re: [Tracker] Queueing sparql requests
- Date: Wed, 30 Mar 2011 16:54:38 +0100
On 30/03/11 16:44, Lionel Landwerlin wrote:
Hi all,
Hi,
I'm using tracker from an application to browse/search media files.
To support live update when searching/browsing I'm using some kind of
live model. Adding a lot of files in a short period of time leads to
lots of sparql request to maintain the models up to date and that kind
of break the whole thing because at some point :
* when using the direct backend, I end up with sqlite errors
telling me that the database is corrupted
* when using the bus backend, I end up not being able to open
file descriptors anymore because the per process limit has been
reached
So to work around the first and then the second issue, I'm about to
write some "private" (as not in tracker) queueing API on top of
libtracker-sparql.
This shouldn't be necessary.
I'm pretty sure other people might be interested by such a feature/api.
Is there any plan to add such thing to tracker ?
Carlos recently did this with tracker-needle after I noticed it needs
the same thing. He ended up writing a model for tracker-needle. It works
quite well.
You can see this in master and it will be in 0.10.6 released tomorrow.
The code is available here:
http://git.gnome.org/browse/tracker/tree/src/tracker-needle
--
Regards,
Martyn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]