activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher L. Shannon (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AMQ-6314) Improve ActiveMQ performance with no message loss configuration
Date Thu, 23 Jun 2016 18:42:16 GMT

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

Christopher L. Shannon edited comment on AMQ-6314 at 6/23/16 6:41 PM:
----------------------------------------------------------------------

You can leave on concurrentStoreAndDispatch for queues and I don't think you'd lose messages.
 There might be some case I'm not thinking of that could cause a message to get lost but the
way it works is the producer will still block and wait for the message to be synced to disk
but while it is waiting to be synced, it will be dispatched to a consumer if the consumer
is ready for it.  If the consumer acknowledges the message before the disk sync happens then
it can be safely dropped and the message never needs to be written to disk.  This can definitely
speed up the message rate.

In regards to EMS, when you did your tests and saw 5000 message per second are you sure that
EMS was configured to use Fsync for the sync storage?  



was (Author: christopher.l.shannon):
You can leave on concurrentStoreAndDispatch for queues and not lose messages.  The producer
will still block and wait for the message to be synced to disk but while it is waiting to
be synced, it will be dispatched to a consumer if the consumer is ready for it.  If the consumer
acknowledges the message before the disk sync happens then it can be safely dropped and the
message never needs to be written to disk.  This can definitely speed up the message rate.

In regards to EMS, when you did your tests and saw 5000 message per second are you sure that
EMS was configured to use Fsync for the sync storage?  


> Improve ActiveMQ performance with no message loss configuration
> ---------------------------------------------------------------
>
>                 Key: AMQ-6314
>                 URL: https://issues.apache.org/jira/browse/AMQ-6314
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.13.0
>            Reporter: Raghu Baddam
>            Priority: Minor
>              Labels: performance
>         Attachments: Screen Shot 2016-06-07 at 9.44.12 AM.png, Screen Shot 2016-06-07
at 9.44.24 AM.png, activemq.xml
>
>
>  We really need a help in improving ActiveMQ performance, we tested ActiveMQ with no
message loss configuration and getting only 500msgs/sec and we are getting 5000msgs/sec with
Tibco EMS server, so can you please suggest us how to improve our ActiveMQ Performance.
> we disabled *concurrentStoreAndDispatchQueues* to achieve 100% no message loss 



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

Mime
View raw message