[ 
https://issues.apache.org/jira/browse/COUCHDB-2984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15277086#comment-15277086
 ] 

ASF GitHub Bot commented on COUCHDB-2984:
-----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/couchdb-mem3/pull/19


> mem3_sync event listener performance degrades with high q values
> ----------------------------------------------------------------
>
>                 Key: COUCHDB-2984
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2984
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Benjamin Anderson
>
> High throughput applications on databases with high (300+) q values have a 
> tendency to cause very poor performance. While I don't fully understand the 
> issue at hand, one clear manifestation is in mem3_sync's event listener. With 
> high q values, the shard "selection" routine (the <<"shards/",ยท_/binary>> 
> head of handle_event/3) will bottleneck on calls to mem3_shards:for_db/1 due 
> to the large (tens of KB) shard maps in ETS.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to