You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "radoslav hodnicak (JIRA)" <ji...@apache.org> on 2011/09/09 00:36:09 UTC

[jira] [Created] (COUCHDB-1276) Regression of attachment fetching speed

Regression of attachment fetching speed
---------------------------------------

                 Key: COUCHDB-1276
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1276
             Project: CouchDB
          Issue Type: Bug
    Affects Versions: 1.1
            Reporter: radoslav hodnicak
            Priority: Blocker
             Fix For: 1.1.1


I have tested the attachment fetching speed on two systems (FreeBSD64 jails, so same hardware), both systems had the same database (copied over). The script was using curl to get 20 attachments (sized 30-100KB) from different documents. The results:

system #1 (erlang 13B2, couchdb 1.0.1) typical time to run this script was 0.15 seconds
system #2 (erlang 14B3, couchdb 1.1) typical time to run this script was 4.5 seconds




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

        

[jira] [Commented] (COUCHDB-1276) Regression of attachment fetching speed

Posted by "radoslav hodnicak (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128158#comment-13128158 ] 

radoslav hodnicak commented on COUCHDB-1276:
--------------------------------------------

I've finally tracked down the difference to the nodelay socket option in config. It is commented out by default in 1.1 and I guess it was set automatically in 1.0. Sorry for the false alarm.
                
> Regression of attachment fetching speed
> ---------------------------------------
>
>                 Key: COUCHDB-1276
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1276
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: radoslav hodnicak
>            Priority: Blocker
>             Fix For: 1.1.1, 1.2
>
>
> I have tested the attachment fetching speed on two systems (FreeBSD64 jails, so same hardware), both systems had the same database (copied over). The script was using curl to get 20 attachments (sized 30-100KB) from different documents. The results:
> system #1 (erlang 13B2, couchdb 1.0.1) typical time to run this script was 0.15 seconds
> system #2 (erlang 14B3, couchdb 1.1) typical time to run this script was 4.5 seconds

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

        

[jira] [Resolved] (COUCHDB-1276) Regression of attachment fetching speed

Posted by "Robert Newson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Newson resolved COUCHDB-1276.
------------------------------------

    Resolution: Cannot Reproduce

I've measured performance of various sized attachments with ApacheBench and can find no difference between 1.0.x and 1.1.x. I note that you also changed erlang version in your comparison, which I did not do, though I don't think it likely that the newer release is slower than the old one.



> Regression of attachment fetching speed
> ---------------------------------------
>
>                 Key: COUCHDB-1276
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1276
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: radoslav hodnicak
>            Priority: Blocker
>             Fix For: 1.1.1, 1.2
>
>
> I have tested the attachment fetching speed on two systems (FreeBSD64 jails, so same hardware), both systems had the same database (copied over). The script was using curl to get 20 attachments (sized 30-100KB) from different documents. The results:
> system #1 (erlang 13B2, couchdb 1.0.1) typical time to run this script was 0.15 seconds
> system #2 (erlang 14B3, couchdb 1.1) typical time to run this script was 4.5 seconds

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

        

[jira] [Updated] (COUCHDB-1276) Regression of attachment fetching speed

Posted by "Randall Leeds (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randall Leeds updated COUCHDB-1276:
-----------------------------------

    Fix Version/s: 1.2

> Regression of attachment fetching speed
> ---------------------------------------
>
>                 Key: COUCHDB-1276
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1276
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: radoslav hodnicak
>            Priority: Blocker
>             Fix For: 1.1.1, 1.2
>
>
> I have tested the attachment fetching speed on two systems (FreeBSD64 jails, so same hardware), both systems had the same database (copied over). The script was using curl to get 20 attachments (sized 30-100KB) from different documents. The results:
> system #1 (erlang 13B2, couchdb 1.0.1) typical time to run this script was 0.15 seconds
> system #2 (erlang 14B3, couchdb 1.1) typical time to run this script was 4.5 seconds

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