Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: JavaScript View Server
    • Labels:
      None
    • Skill Level:
      Regular Contributors Level (Easy to Medium)

      Description

      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.

      1. 0004-Remove-the-old-view-engine.patch
        117 kB
        Paul Joseph Davis
      2. 0003-Create-the-couch_mrview-application.patch
        118 kB
        Paul Joseph Davis
      3. 0002-Create-the-couch_index-application.patch
        36 kB
        Paul Joseph Davis
      4. 0001-Minor-changes-for-new-indexing-engine.patch
        9 kB
        Paul Joseph Davis

        Activity

        Paul Joseph Davis made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Paul Joseph Davis made changes -
        Attachment 0004-Remove-the-old-view-engine.patch [ 12493728 ]
        Paul Joseph Davis made changes -
        Attachment 0004-Remove-the-old-view-engine.patch [ 12493666 ]
        Paul Joseph Davis made changes -
        Attachment 0001-Minor-changes-for-new-indexing-engine.patch [ 12493663 ]
        Attachment 0002-Create-the-couch_index-application.patch [ 12493664 ]
        Attachment 0003-Create-the-couch_mrview-application.patch [ 12493665 ]
        Attachment 0004-Remove-the-old-view-engine.patch [ 12493666 ]
        Paul Joseph Davis made changes -
        Attachment 0004-Remove-the-old-view-engine.patch [ 12493511 ]
        Paul Joseph Davis made changes -
        Attachment 0003-Create-the-couch_mrview-application.patch [ 12493510 ]
        Paul Joseph Davis made changes -
        Attachment 0002-Create-the-couch_index-application.patch [ 12493509 ]
        Paul Joseph Davis made changes -
        Attachment 0001-Minor-changes-for-new-indexing-engine.patch [ 12493508 ]
        Paul Joseph Davis made changes -
        Attachment 0001-Minor-changes-for-new-indexing-engine.patch [ 12493508 ]
        Attachment 0002-Create-the-couch_index-application.patch [ 12493509 ]
        Attachment 0003-Create-the-couch_mrview-application.patch [ 12493510 ]
        Attachment 0004-Remove-the-old-view-engine.patch [ 12493511 ]
        Paul Joseph Davis made changes -
        Attachment 0004-Remove-the-old-view-engine.patch [ 12493060 ]
        Paul Joseph Davis made changes -
        Attachment 0003-Create-the-couch_mrview-application.patch [ 12493059 ]
        Paul Joseph Davis made changes -
        Attachment 0002-Create-the-couch_index-application.patch [ 12493058 ]
        Paul Joseph Davis made changes -
        Attachment 0001-Minor-changes-for-new-indexing-engine.patch [ 12493057 ]
        Paul Joseph Davis made changes -
        Attachment 0001-Minor-changes-for-new-indexing-engine.patch [ 12493057 ]
        Attachment 0002-Create-the-couch_index-application.patch [ 12493058 ]
        Attachment 0003-Create-the-couch_mrview-application.patch [ 12493059 ]
        Attachment 0004-Remove-the-old-view-engine.patch [ 12493060 ]
        Paul Joseph Davis made changes -
        Attachment 0004-Remove-the-old-view-engine.patch [ 12492938 ]
        Paul Joseph Davis made changes -
        Attachment 0003-Create-the-couch_mrview-application.patch [ 12492937 ]
        Paul Joseph Davis made changes -
        Attachment 0002-Create-the-couch_index-application.patch [ 12492936 ]
        Paul Joseph Davis made changes -
        Attachment 0001-Minor-changes-for-new-indexing-engine.patch [ 12492935 ]
        Paul Joseph Davis made changes -
        Field Original Value New Value
        Attachment 0001-Minor-changes-for-new-indexing-engine.patch [ 12492935 ]
        Attachment 0002-Create-the-couch_index-application.patch [ 12492936 ]
        Attachment 0003-Create-the-couch_mrview-application.patch [ 12492937 ]
        Attachment 0004-Remove-the-old-view-engine.patch [ 12492938 ]
        Paul Joseph Davis created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Paul Joseph Davis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development