couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-1009) Make couch_stream buffer configurable
Date Sat, 29 Oct 2011 19:25:32 GMT

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

Jan Lehnardt updated COUCHDB-1009:
----------------------------------

    Attachment: COUCHDB-1009-rebased.patch

Rebased against master.

@FIlipe, don't we need to listen to config changes and restart or reconfigure the gen_server
or its state with the new config value?
                
> Make couch_stream buffer configurable
> -------------------------------------
>
>                 Key: COUCHDB-1009
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1009
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>         Environment: trunk
>            Reporter: Filipe Manana
>            Assignee: Filipe Manana
>            Priority: Trivial
>         Attachments: COUCHDB-1009-2.patch, COUCHDB-1009-rebased.patch, COUCHDB-1009.patch
>
>
> The couch_stream buffer is hardcoded to 4Kb.
> This value should be configurable. Larger values can improve write and specially read
performance (if we write larger chunks to disk, we have higher chances of reading more contiguous
disk blocks afterwards). 
> I also think it's a good idea to change the default value from 4Kb to something higher
(64Kb for e.g.).
> Patch attached

--
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

        

Mime
View raw message