This makes me wonder how these number compare to other Java frameworks as well as to Mono XSP.
It's hard to do an apples to apples comparison with these things, but on the Microsoft side I've seen ASP.NET serve way more pages per second than that (2-3x), on what would now be considered outdated hardware. It probably helps that ASP.NET converts *.aspx pages into MSIL, which then gets compiled into machine code on first hit, so there's no parsing, interpretation or reflection anywhere in the code path. On Dec 12, 5:25 pm, daiwhea <[email protected]> wrote: > In fact, what I need is just page serving. But the visiting is not > averaged, that's the key reason we wish at least the index page should > be responsed less than 10Milliseconds. > > I just take a ab test with "ab -kc 100 -n > 10000http://localhost:9090/authors/list", > seems it outpaced what I want. Maybe we can switch to lift completely. > ^_^ Thanks. > > Document Path: /authors/list > Document Length: 3607 bytes > > Concurrency Level: 100 > Time taken for tests: 44.055 seconds > Complete requests: 10000 > Failed requests: 5056 > (Connect: 0, Receive: 0, Length: 5056, Exceptions: 0) > Write errors: 0 > Keep-Alive requests: 10000 > Total transferred: 39787048 bytes > HTML transferred: 36122294 bytes > Requests per second: 226.99 [#/sec] (mean) > Time per request: 440.550 [ms] (mean) > Time per request: 4.406 [ms] (mean, across all concurrent > requests) > Transfer rate: 881.95 [Kbytes/sec] received > > Connection Times (ms) > min mean[+/-sd] median max > Connect: 0 0 0.5 0 6 > Processing: 6 438 370.8 385 2507 > Waiting: 0 438 370.8 385 2507 > Total: 6 438 370.8 385 2507 > > Percentage of the requests served within a certain time (ms) > 50% 385 > 66% 568 > 75% 682 > 80% 733 > 90% 853 > 95% 946 > 98% 1603 > 99% 1838 > 100% 2507 (longest request) > > On Dec 13, 12:28 am, Timothy Perrett <[email protected]> wrote: > > > Personally, I think it would be better if you took a step back and look t > > *your* use case. Why do you need this speed, in what areas do you need it? > > (page serving, dispatching etc) > > > If you better outline what you want, then we can advise on realistic > > expectations. > > > Cheers, Tim > > > On 12 Dec 2009, at 16:10, James Black wrote: > > > > On Sat, Dec 12, 2009 at 5:12 AM, daiwhea <[email protected]> wrote: > > > I just have a test with some example lift apps. But I'm sorry to say > > > that I cannot achieve this high performance on my dev box(Dell xps > > > 420, 6 G RAM, Quad CPU) > > > > my env is Ubuntu 8.10. > > > java version "1.6.0_14" > > > Java(TM) SE Runtime Environment (build 1.6.0_14-b08) > > > Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode) > > > > with the latest : lift-archetype-jpa-basic > > > -DarchetypeArtifactId=lift-archetype-jpa-basic \ > > > -DarchetypeVersion=1.1-M7 > > > > I haven't tried to get it as fast as I can, but the jpa project goes to > > > the database, so you may want to use lift-archetype-basic. > > > > Also, the first time you load it there may be a slow down due to > > > initializations, so to get a good test you may want to write a unit test > > > that will load it perhaps 100 times and then you can get the average, > > > fastest and slowest times to get an idea how it is performing. > > > > Also, you may need to subtract any javascript/css files, or, when you > > > compare to PHP make certain you have similar files being loaded for PHP > > > for a true comparison. > > > > -- > > > > You received this message because you are subscribed to the Google Groups > > > "Lift" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]. > > > For more options, visit this group > > > athttp://groups.google.com/group/liftweb?hl=en. -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
