activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-5578) preallocate journal files
Date Thu, 05 Mar 2015 14:45:49 GMT

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

Timothy Bish commented on AMQ-5578:
-----------------------------------

I'm seeing the following logged quite often:

{quote}
   Preallocate journal file with sparse file
{quote}

While it's nice to now the strategy used it might be good to only log that once instead of
on every create of a journal 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)

Mime
View raw message