Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.2, 1.1, 1.2
    • Component/s: Database Core
    • Labels:
      None

      Description

      The following short patch moves the MD5 verification outside the couch_file server:

      https://github.com/fdmanana/couchdb/commit/51c463d682c478dcb273bd88f1ef3046a709689f

      Despite being apparently so insignificant (couch_util:md5/1 takes about 700us in my machine), I get this significant results with relaximation:

      $ node tests/compare_write_and_read.js --wclients 100 --rclients 200 \
      -name1 md5_out -name2 trunk \
      -url1 http://localhost:5984/ -url2 http://localhost:5985/ \
      --duration 120

      run 1) http://graphs.mikeal.couchone.com/#/graph/5c859b3e7d1b9bd0488cfe271105130c

      run 2) http://graphs.mikeal.couchone.com/#/graph/5c859b3e7d1b9bd0488cfe2711051bba

      The documents used in the test have a size of about 1Kb.
      If nobody has an objection, I'll commit this to trunk.

        Activity

        Filipe Manana made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Filipe Manana made changes -
        Field Original Value New Value
        Fix Version/s 1.0.2 [ 12315258 ]
        Fix Version/s 1.1 [ 12314933 ]
        Fix Version/s 1.2 [ 12315198 ]
        Filipe Manana created issue -

          People

          • Assignee:
            Filipe Manana
            Reporter:
            Filipe Manana
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development