lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Pratt <fairwi...@eastlink.ca>
Subject Re: multi core vs multi app
Date Tue, 04 Mar 2008 04:53:27 GMT
Hi there. Many thanks for your replies. They have helped me determine a 
direction. It is a great thing to have both options available (and to 
better understand the pros and cons of each).

Regards
David

Ryan McKinley wrote:
> Otis Gospodnetic wrote:
>> Quick answers.  2 webapps one core/index each vs. 1 webapp with 2 
>> cores (but there is also 1 webapp with 2 virtual webapps, one 
>> core/index each).  If RAM is an issue, I'd think 1 webapp would be 
>> slightly gentler on your RAM.
>>
> 
> I think we should emphasize the *slightly* -- Whatever increase there is 
> from the solr side is minimal -- none of the memory intensive aspects 
> are shared across cores.  The servlet container may add a little more 
> memory for each webapp though.
> 
> Another thing to consider is that in a multi-core setup, if one core 
> freezs the JVM (who knows why), it will freeze everything.  In a 
> multi-webapp setup, it would only affect its own webapp.
> 
> If you only have a few indexes and the configuration does not change 
> much, you may just want to stick with multiple webapps.  Multi-core is 
> good for cases where you want to start/stop/add/modify cores at runtime.
> 
> ryan
> 

Mime
View raw message