From: Joerg M. <joe...@ub...> - 2007-08-22 23:09:32
|
Wayne, Any idea why Solr under Jetty seems to be substantially slower then Solr under Tomcat. I'm getting something like a factor of 5 to 10 difference in loading speed using the Tomcat that I set up for the 0.5 release. I modified my JAVA_OPTIONS as you recommended and it doesn't seem affect the Jetty speed. Wayne Graham wrote: > To add on to what Andrew said, as long as you do a little Java tuning on > your system, you should be able to handle pretty much anything that a > typical library could throw at Jetty (though if you're in OS X, you may > want to look at using the system versions of JBoss (which uses Jetty) or > Tomcat). I think this is more a question of which servlet container > you're running than a Solr issue though, and I'd encourage you to try > out different containers. > > Try out JMeter (http://jakarta.apache.org/jmeter/) to do some testing. > It'll let you do testing on the website to see how it would perform. You > can tweak the JVM settings to tweak to make it move pretty darn fast. If > you need some help with that, let me know...it took a bit to figure out > how to actually run a test the first time. > > HTH, > Wayne > > Andrew Nagy wrote: >>> Moving forward, is there any benefit to having the Solr piece on a >>> faster machine, separated from where the rest of VuFind lives? Or is >>> the network overhead between the 2 boxes likely to kill any performance >>> boost? >> My $0.02 is that if performance is an issue - due to user load - then setting solr up in a distributed slave/master model would be best. For example - you might have 3 servers with a load balancer or round robin dns with one designated as the master and the other 2 as the slaves. Or you could have all three as masters and just make sure the index is copied between the 3 on a nightly basis after the master syncs with the catalog. >> >> I would say that seperating the web server from solr is not worth while since the heart of the system lies with Solr. The PHP scripts are very basic and require very little memory and cpu cycles. >> >> I would suggest posting your question to the solr listserv. They would be much more able to answer your question. Many of the people on the list use solr in a distributed model. >> >> Andrew >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> VuFind-General mailing list >> VuF...@li... >> https://lists.sourceforge.net/lists/listinfo/vufind-general > > -- Joerg Messer Programmer/Analyst University of British Columbia Library 2206 East Mall, Vancouver, BC, Canada, V6T 1Z3 t. 1.604.822.5091 f. 1.604.822.3201 e. joe...@ub... |