incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron McCurry (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (BLUR-249) Sync performance issue in the IndexInputCloser class
Date Mon, 30 Sep 2013 22:00:27 GMT

     [ https://issues.apache.org/jira/browse/BLUR-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aaron McCurry closed BLUR-249.
------------------------------

    Resolution: Fixed

https://git-wip-us.apache.org/repos/asf?p=incubator-blur.git;a=commit;h=bbaf016bfbb2296e4d2787e44340a62ffdbae153

https://git-wip-us.apache.org/repos/asf?p=incubator-blur.git;a=commit;h=f40889af2e77868090a53b677c818fb1ab546bf6

> Sync performance issue in the IndexInputCloser class
> ----------------------------------------------------
>
>                 Key: BLUR-249
>                 URL: https://issues.apache.org/jira/browse/BLUR-249
>             Project: Apache Blur
>          Issue Type: Improvement
>          Components: Blur
>    Affects Versions: 0.3.0, 0.2.1
>            Reporter: Aaron McCurry
>             Fix For: 0.3.0, 0.2.1
>
>
> While running some load tests on a medium sized cluster I noticed a lot of blocked state
on the index-manager threads.  These threads are used during  the parallel search.  Upon inspection
of a thread dump I noticed that all the blocked state threads were blocking on line 67 in
the IndexInputCloser class.  This is to synchronize on a collection addition because the implementation
is a HashSet.
> This task is to change the refs field to be a concurrenthashmap using the Collections.newSetFromMap()
method.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message