We are also looking to do the same thing with querying properties (directly from the database). Based on this feedback, we may be able to do something different, and heirarchically categorise the items of interest using the AttributeService. In our case we are interested in a number of NodeRefs, so we could place the node references into a different path as described in the AttributeService interface.
The only concern I have around this is long term performance. If we were to maintain nodes of interest for a queuing implementation into the following heirarchies
/queueCategory/pending
/queueCategory/succeeded
/queueCategory/failed
1. If we're constantly clearing values for the pending, succeeded and failed keys are we likely to be safe from performance issues?
2. Is it expected that data lingers in the AttributeService permanently based on a key mapping?