[Dev] Notification Manager using Item Queries
Andi Vajda
vajda at osafoundation.org
Mon Dec 6 12:08:45 PST 2004
It is not so much a performance issue as an issue of consistency. If
notifications talk about things that are in the repository, then with or
without queries, for somebody to react to a notification they would have to be
in sync with what the notification is talking about.
On the other hand, if the notification is not talking about something in the
repository, just creating an item to leverage the repository and queries seems
overkill indeed.
Andi..
On Mon, 6 Dec 2004, Brian Kirsch wrote:
> Hello,
> After giving it some thought, I am starting to think that perhaps leveraging
> item queries as a replacement for the Notification Manager is not the best
> solution.
>
> Technically I think it is possible to use item queries to deliver
> notifications across views / threads. My concern is with repository
> performance. The additional number of refreshes and commits required to
> propagate notifications across views is gonna add a lot of CPU cycles to the
> Repository Layer.
>
> Going with a more traditional subscribe / notify event model will prevent the
> need for constant commits and refreshes.
>
> Using item queries for notification is a very interesting concept. I am open
> to suggestions on ways around the performance issue.
>
>
>
> Brian Kirsch - Email Framework Engineer
> Open Source Applications Foundation
> 543 Howard St. 5th Floor
> San Francisco, CA 94105
> (415) 946-3056
>
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "Dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/dev
>
More information about the Dev
mailing list