You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by Apache Bloodhound <de...@bloodhound.apache.org> on 2013/04/08 16:34:50 UTC

Re: [Apache Bloodhound] #485: Topic-based pub/sub for IResourceChangeListener

#485: Topic-based pub/sub for IResourceChangeListener
-------------------------+-------------------------------------------------
  Reporter:  olemis      |      Owner:  nobody
      Type:              |     Status:  new
  enhancement            |  Milestone:
  Priority:  major       |    Version:
 Component:  trac core   |   Keywords:  gsoc gsoc2013submitted
Resolution:              |  IResourceChangeListener performance
-------------------------+-------------------------------------------------

Comment (by andrej):

 I checked how we use IResourceChangeListener and figured out that content-
 based filtering is not used by our code. Additionally, it can be
 implemented by listener internally.

 My suggestion is replacing content based filtering by resource type
 subscription (replacing IResourceChangeListener.match_request method with
 get_subscribed_resources).  I think we can break backward compatibility
 since the interface is not used publicly .

 For ticket relation feature, I plan to suggest a new interface
 IResourceChangingListener (within transaction event) using the similar
 implementation technique as IResourceChangeListener. And I would really
 like to clarify IResourceChangeListener implementation before introducing
 the new interface.

 Please check  suggested patch in
 [attachment:t485_1465649_get_subscribed_resources.diff​:ticket:485
 t485_1465649_get_subscribed_resources.diff​]
 What do you think?

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/485#comment:3>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker