Re: Advantages of different Servlet Containers

2009-10-02 Thread Joshua Tuberville
Simon,

Have you tried the bin/jetty.sh script that comes with Jetty  
distributions?  It contains the standard start|stop|restart functions.

Joshua

On Oct 2, 2009, at 1:11 PM, Simon Wistow wrote:

> I know that the Solr FAQ says
>
> "Users should decide for themselves which Servlet Container they
> consider the easiest/best for their use cases based on their
> needs/experience. For high traffic scenarios, investing time for  
> tuning
> the servlet container can often make a big difference."
>
> but is there anywhere that lists some of the variosu advantages and
> disadvantages of, say, Tomcat over Jetty for someone who isn't current
> with the Java ecosystem?
>
> Also, I'm currently using Jetty but I've had to do a horrific hack to
> make it work under init.d in that I start it up in the background and
> then tail the output waiting for the line that says the  
> SocketConnector
> has been started
>
>   while [ '' = "$(tail -1 $LOG | grep 'Started SocketConnector')"  ] ;
>   do
>   sleep 1
>   done
>
> There's *got* to be a better way of doing this, right?
>
> Thanks,
>
> Simon
>
>



Re: benchmarking tools

2009-10-27 Thread Joshua Tuberville
Mike,

For response times I would also look at java.net's Faban benchmarking  
framework.  We use it extensively for our acceptance tests and tuning  
excercises.

Joshua

On Oct 27, 2009, at 1:59 PM, Mike Anderson wrote:

> I've been making modifications here and there to the Solr source  
> code in
> hopes to optimize for my particular setup. My goal now is to  
> establish a
> descent benchmark toolset so that I can evaluate the observed  
> performance
> increase before deciding rolling out. So far I've investigated  
> Jmeter and
> Lucid Gaze, but each seem to have pretty steep learning curves, so I  
> thought
> I'd ping the group before I sink a good chunk of time into either.  
> My ideal
> performance metrics aren't so much load testing, but rather response  
> time
> testing for different query types across different Solr  
> configurations.
>
> If anybody has some insight into this kind of project I'd love to  
> get some
> feedback.
>
> Thanks in advance,
> Mike Anderson