Bug 1007370 - Enhance the performance of the internal change bus
Summary: Enhance the performance of the internal change bus
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: ModeShape
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: ---
Assignee: Horia Chiorean
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-12 10:56 UTC by Horia Chiorean
Modified: 2016-02-10 08:57 UTC (History)
2 users (show)

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.
Clone Of:
Environment:
Last Closed: 2016-02-10 08:57:42 UTC
Type: Enhancement
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker MODE-2024 0 Critical Closed Enhance the performance of RepositoryChangeBus 2014-02-14 15:44:39 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.