[ 
https://issues.apache.org/jira/browse/AMQ-7021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Tully resolved AMQ-7021.
-----------------------------
    Resolution: Fixed

A virtual topic send intensive test is ~40% better with the changes b/c 
matching on the dest map can now operate in parallel as intended by the rw-lock 
refactor.

Other users of destinationMap still retain the sync get/add semantics

> DestinationMap access inside Abstract Region readwrite lock does not need sync
> ------------------------------------------------------------------------------
>
>                 Key: AMQ-7021
>                 URL: https://issues.apache.org/jira/browse/AMQ-7021
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>            Priority: Major
>             Fix For: 5.16.0
>
>
> Using multiple virtual topic publishers, there is unnecessary serialisation 
> via the destination map.
> the read write lock introduced in AMQ-3454 is sufficient to guard access in 
> this case and reads should operate in parallel.
> with many thousand destinations lookup can be expensive and the serialisation 
> becomes apparent.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to