Bala Kolla created COUCHDB-3307:
-----------------------------------

             Summary: Limit calls to maybe_add_sys_db_callbacks to once per db 
open
                 Key: COUCHDB-3307
                 URL: https://issues.apache.org/jira/browse/COUCHDB-3307
             Project: CouchDB
          Issue Type: Bug
          Components: Database Core
            Reporter: Bala Kolla


As part of performance regression testing we found out that there is a code 
change in 
            {{couch_server:open/2,
            Options = maybe_add_sys_db_callbacks(DbName, Options0)}}
As a result of this change we are basically calling 
{{maybe_add_sys_db_callbacks}} for each request instead of once per db open.

We have fixed and executed a GET performance benchmark and found the following 
improvements.

* Throughput: Up to ~5% improvement.
* 20% improvement in p90 and p99 latencies



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to