Re: [Tracker] Recommended Update Policy
- From: Ivan Frade <ivan frade gmail com>
- To: fr33domlover <fr33domlover inventati org>
- Cc: "tracker-list gnome org" <tracker-list gnome org>
- Subject: Re: [Tracker] Recommended Update Policy
- Date: Mon, 18 Nov 2013 09:35:33 -0800
Hi,
In general, batching updates is a good policy, at least to save DBus traffic and avoid unnecessary noise in the system.
The application knows how the data is presented and modified, It should group the changes in a coherent state and then send them to Tracker in an async fashion. No need to block the UI.
For example, If you are changing properties in a preferences window, send the results when the user press "close". If the changes happen while editing (like writing in Tomboy), you could set a timeout after stop typing. Writing (even async) per small editing is a lot of flow between app and tracker, with not real value.
I think there is no more advance pattern for this. In this regard, tracker is not different from any other DB.
Hope this helps,
Ivan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]