You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jay Kreps (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/24 19:38:32 UTC

[jira] [Resolved] (KAFKA-164) Config should default to a higher-throughput configuration for log.flush.interval

     [ https://issues.apache.org/jira/browse/KAFKA-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jay Kreps resolved KAFKA-164.
-----------------------------

    Resolution: Fixed
    
> Config should default to a higher-throughput configuration for log.flush.interval
> ---------------------------------------------------------------------------------
>
>                 Key: KAFKA-164
>                 URL: https://issues.apache.org/jira/browse/KAFKA-164
>             Project: Kafka
>          Issue Type: Improvement
>          Components: config
>    Affects Versions: 0.7
>            Reporter: Jay Kreps
>            Assignee: Jay Kreps
>             Fix For: 0.7
>
>         Attachments: KAFKA-164-v2.patch, KAFKA-164.patch
>
>
> Currently we default the flush interval to log.flush.interval=1. This is very slow as it immediately flushes each message. I recommend we change this to 20000 and drop the time-based flush to 1 second. This should be a good default trade-off between latency and throughput.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira