David Pollk, thanks you reply!

Let us talk about tomcat or jetty Which web container is recommended
to use to deploy the Lift app.

 I remember your reply of Derek Chen-Becker:

On 5月5日, 上午5时59分, David Pollak <feeder.of.the.be...@gmail.com> wrote:
> Derek,
> Please note that about half of the requests failed in Jetty.  Jetty does not
> seem to be explicitly closing the NIO sockets leading to an out of IO
> descriptor problem... that's why I used Tomcat.
>
> Thanks,
>
> David
>

But at now why you recommend Nginx + Jetty ?


> On Mon, May 4, 2009 at 2:47 PM, Derek Chen-Becker 
> <dchenbec...@gmail.com>wrote:
>
>
>
> > Just to throw in another data point, I ran the tests on my AMD Phenom X2
> > 720 (3 cores, 6GB of RAM):
>
> > I generated the archetype exactly as you have it here.
>
> > Ran "mvn -Drun.mode=production -Djetty.port=9090 jetty:run"
>
> > Output from Apache Bench:
>
> > $ ab -c 10 -n 20000http://192.168.2.254:9090/user_mgt/login
> > This is ApacheBench, Version 2.3 <$Revision: 655654 $>
> > Copyright 1996 Adam Twiss, Zeus Technology Ltd,http://www.zeustech.net/
> > Licensed to The Apache Software Foundation,http://www.apache.org/
>
> > Benchmarking 192.168.2.254 (be patient)
> > Completed 2000 requests
> > Completed 4000 requests
> > Completed 6000 requests
> > Completed 8000 requests
> > Completed 10000 requests
> > Completed 12000 requests
> > Completed 14000 requests
> > Completed 16000 requests
> > Completed 18000 requests
> > Completed 20000 requests
> > Finished 20000 requests
>
> > Server Software:        Jetty(6.1.16)
> > Server Hostname:        192.168.2.254
> > Server Port:            9090
>
> > Document Path:          /user_mgt/login
> > Document Length:        3635 bytes
>
> > Concurrency Level:      10
> > Time taken for tests:   37.110 seconds
> > Complete requests:      20000
> > Failed requests:        10191
> >    (Connect: 0, Receive: 0, Length: 10191, Exceptions: 0)
> > Write errors:           0
> > Total transferred:      79276096 bytes
> > HTML transferred:       72626584 bytes
> > Requests per second:    538.94 [#/sec] (mean)
> > Time per request:       18.555 [ms] (mean)

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=.


Reply via email to