couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-1270) Rewrite the view engine
Date Sun, 04 Sep 2011 00:03:16 GMT
Rewrite the view engine
-----------------------

                 Key: COUCHDB-1270
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1270
             Project: CouchDB
          Issue Type: Improvement
          Components: JavaScript View Server
            Reporter: Paul Joseph Davis


The view engine has been creaky and cluttered. As shown by GeoCouch, adding new indexers basically
involves copying the entire view engine and hacking the parts that are different. In short,
the opposite of good engineering.

Over the last couple weeks I've refactored the view engine and reimplemented the map/reduce
view engine. These changes are 100% internal and no external behavior has changed. Performance
is just a tiny bit better than trunk. I did do some playing trying to improve view update
times and there are some dances we could do, but for the time being I wanted to keep the same
general architecture for updates so that the changes are minimal.



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message