lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SOLR-6521) CloudSolrServer should synchronize cache cluster state loading
Date Tue, 16 Sep 2014 10:53:34 GMT

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

Noble Paul edited comment on SOLR-6521 at 9/16/14 10:52 AM:
------------------------------------------------------------

AFAIK SolrJ does not have  a dependency on guava. I shall do a single threaded loading of
state and it should be fine


was (Author: noble.paul):
AFAIK SolrJ does not have  a dependency on guava. I shall do a single threaded loading of
state and it should be fine?

> CloudSolrServer should synchronize cache cluster state loading
> --------------------------------------------------------------
>
>                 Key: SOLR-6521
>                 URL: https://issues.apache.org/jira/browse/SOLR-6521
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Jessica Cheng Mallet
>            Assignee: Noble Paul
>              Labels: SolrCloud
>
> Under heavy load-testing with the new solrj client that caches the cluster state instead
of setting a watcher, I started seeing lots of zk connection loss on the client-side when
refreshing the CloudSolrServer collectionStateCache, and this was causing crazy client-side
99.9% latency (~15 sec). I swapped the cache out with guava's LoadingCache (which does locking
to ensure only one thread loads the content under one key while the other threads that want
the same key wait) and the connection loss went away and the 99.9% latency also went down
to just about 1 sec.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message