activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <>
Subject [jira] [Commented] (AMQ-5578) preallocate journal files
Date Wed, 27 May 2015 11:19:20 GMT


Gary Tully commented on AMQ-5578:

@James - it is great that you are suggesting improvements in this area. One thought - peek
at AMQ-5603 (and the comments). If preallocation can be done up front in a pool (and gc'ed
files recycled) there should be no impact at write time in the normal case.

> preallocate journal files
> -------------------------
>                 Key: AMQ-5578
>                 URL:
>             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 to be the default.

This message was sent by Atlassian JIRA

View raw message