speed of couch_config_writer.erl O(n^2) with size of local.ini
--------------------------------------------------------------

                 Key: COUCHDB-545
                 URL: https://issues.apache.org/jira/browse/COUCHDB-545
             Project: CouchDB
          Issue Type: Bug
    Affects Versions: 0.10, 0.10.1, 0.11
            Reporter: eric casteleijn
             Fix For: 0.10, 0.10.1, 0.11


PUT requests to _config slow down dramatically as the size of local.ini grows.

Attached version of  couch_config_writer.erl (written by Gustavo Niemeyer) 
takes the write time to the config file from  O(n**2) to O(n) resulting in 
dramatic speedups when the size of local.ini grows to non trivial sizes. 
(change from 5 minutes to 2 seconds observed on our server.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to