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

Gary Tully commented on AMQ-2668:
---------------------------------

individual store limits may not be possible as the store is shared, but 
possibly a precent store usage usage metric would work.

request queue could block on 70% full and response queue could block on 100% 
full.

This approach is already uses by the cursors via the cursorMemoryHighWaterMark.

Do you think that would satisfy your use case?

> Allow setting storeUsage limit per individual queue/topic
> ---------------------------------------------------------
>
>                 Key: AMQ-2668
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2668
>             Project: ActiveMQ
>          Issue Type: New Feature
>          Components: Broker
>    Affects Versions: 5.3.1
>            Reporter: Taras Tielkes
>
> At the moment it's only possible to configure a storeLimit per broker.
> In some cases, you want to set an upper bound for an individual queue, to 
> guarantee that there will be storage available for other queues.
> For example, consider a setup with a request queue, and a response queue, 
> where both request and response messages are huge.
> In that situation, we want to set an overall store limit, to prevent flooding 
> the filesystem.
> At the same time, we don't want to allow the request queue to consume 100% of 
> the broker store.
> For example, we'd like to define:
> total broker store limit: 20 GB
> queue "request_queue" store limit: 15 GB
> queue "response_queue" store limit: 5 GB

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to