lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian von Wendt-Jensen <>
Subject Solr instances: many singles vs multi-core
Date Tue, 05 Jun 2012 11:22:06 GMT

I'm runing a cluster of Solr serveres for an index split up in a lot of shards. Each shard
is replicated. Current setup is one Tomcat instance per shard, even if the Tomcats are running
on the same machine.

My question is this:

Would it be more advisable to run one Tomcat per machine with all the shards as cores, or
is the current setup the best, where each shard is running in its own Tomcat.

As I see it, i would think that One Tomcat running multiple cores is better as it reduces
the overhead of having many Tomcat instances, and it there is the possibility to let the cores
share all available memory after how much they actually need. In the One Shard/One Tomcat
scenario, each instance must have it predefined memory settings wether or not it needs more
or less.

Any opinions on the matter?

Med venlig hilsen / Best Regards

Christian von Wendt-Jensen

View raw message