You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "james (JIRA)" <ji...@apache.org> on 2015/06/01 19:08:18 UTC

[jira] [Commented] (AMQ-5578) preallocate journal files

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

james commented on AMQ-5578:
----------------------------

yep, i've seen the other issue.  i definitely agree that would be a preferable solution.  i will say, however, that the memory usage could still be a problem in our use case (for the ZEROS strategy which uses a 32MB buffer to write the file).

> preallocate journal files
> -------------------------
>
>                 Key: AMQ-5578
>                 URL: https://issues.apache.org/jira/browse/AMQ-5578
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Message Store
>    Affects Versions: 5.11.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>              Labels: journal, kahaDB, perfomance
>             Fix For: 5.12.0
>
>
> Our journals are append only, however we use the size to track journal rollover on recovery and replay. We can improve performance if we never update the size on disk and preallocate on creation.
> Rework journal logic to ensure size is never updated. This will allow the configuration option from https://issues.apache.org/jira/browse/AMQ-4947 to be the default.



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