Jessica Cheng Mallet created SOLR-6521:
------------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]