[ 
https://issues.apache.org/jira/browse/AMQ-6164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15138899#comment-15138899
 ] 

ASF subversion and git services commented on AMQ-6164:
------------------------------------------------------

Commit 499e39e52c392fcc6d897a526afbbd3b144121e2 in activemq's branch 
refs/heads/master from [~gtully]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=499e39e ]

https://issues.apache.org/jira/browse/AMQ-6164 - allow journal write batching 
on a single destination


> queue sendLock prevents concurrent journal updates
> --------------------------------------------------
>
>                 Key: AMQ-6164
>                 URL: https://issues.apache.org/jira/browse/AMQ-6164
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker, Message Store
>    Affects Versions: 5.13.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>             Fix For: 5.14.0
>
>
> concurrent producers contend on the queue sendlock rather than on the 
> journal, preventing batching or in the case of jdbc, concurrent writes to the 
> db.
> The sendlock protects message order, however order is ultimately determined 
> by the sequence id assigned by the persistence adapter. 
> The ground work for aligning the cursors with the journal sequence ids was 
> layed in https://issues.apache.org/jira/browse/AMQ-4485 and 
> https://issues.apache.org/jira/browse/AMQ-5266
> With the ordering between transacted and non transacted producers overlapping 
> the cursor already respects the journal ordering, the sendLock need no longer 
> protect the journal update.
> With parallel journal updates we get the benefit of write batching (sharing 
> an fsync) for multiple producers on a single destination.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to