Bug 1007370

Summary: Enhance the performance of the internal change bus
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Horia Chiorean <hchiorea>
Component: ModeShapeAssignee: Horia Chiorean <hchiorea>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: fnguyen, ldimaggi
Target Milestone: CR1Keywords: QA-Closed
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The performance of ModeShape's current change bus can be improved by changing queue.poll() with queue.take() when dispatching events to each listener. RepositoryChangeBus.java has been modified accordingly, and internal thread creation has been simplified so that fewer threads are spawned.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-10 08:57:42 UTC Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Horia Chiorean 2013-09-12 10:56:14 UTC
ModeShape's current change bus implementation should be made more performant by changing queue.poll() with queue.take() when dispatching events to each listener.

Comment 1 JBoss JIRA Server 2013-09-13 10:25:53 UTC
Horia Chiorean <hchiorea> made a comment on jira MODE-2024

Changed RepositoryChangeBus to use {{queue.take()}} instead of {{poll()}} and simplified internal thread creation so that fewer threads are spawned.

Comment 2 JBoss JIRA Server 2013-09-16 14:25:42 UTC
Randall Hauch <rhauch> made a comment on jira MODE-2024

Rebased and merged into the 'master' branch. Leaving open until it is cherry-picked into 3.3.x.

Comment 8 JBoss JIRA Server 2013-10-24 09:23:20 UTC
Randall Hauch <rhauch> updated the status of jira MODE-2024 to Closed

Comment 9 belong 2013-12-10 01:41:14 UTC
Assuming this will be verified before GA - setting to requires_doc_text- accordingly.