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

Yonik Seeley commented on SOLR-2821:
------------------------------------

bq. Sami said he noticed that 150ms of the 200ms it takes to update the cluster 
state looks like its in parsing the XML. I wonder if json would be faster to 
parse...

It was significantly faster when I tested a few years ago.

ObjectBuilder.fromJSON(String) is a one-step easy way to get a whole object 
graph (Map, List, etc).
Streaming (not materializing the object graph) is the fastest of course.
                
> Improve how cluster state is managed in ZooKeeper.
> --------------------------------------------------
>
>                 Key: SOLR-2821
>                 URL: https://issues.apache.org/jira/browse/SOLR-2821
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Mark Miller
>             Fix For: 4.0
>
>
> Currently, we have issues supporting both incremental cluster state updates 
> (needed because reading the state with many ZK requests does not scale) and 
> allowing shard/node properties to change on the fly. We be nice to have a 
> solution that allows faster cluster state reads and easy on the fly 
> shard/node prop changes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to