Thank you Dave. I'll be waiting for your complete benchmark ... Daniel
On Mon, May 4, 2009 at 5:23 AM, David Pollak <feeder.of.the.be...@gmail.com>wrote: > > > On Sun, May 3, 2009 at 4:11 PM, Daniel Guryca <dun...@gmail.com> wrote: > >> I have just tried mvn -Drun.mode=production jetty:run ... but sadly still >> getting same performance. > > > I ran a simple test (the same command line as you) on my 2.67 Ghz Core i7 > machine and saw 600 pages per second. Granted, my machine's faster, but not > 10x. > > I'll spend some time putting together a complete benchmark tomorrow so we > can share the same executable and hopefully see the same results. > > >> >> >> Daniel >> >> >> On Sun, May 3, 2009 at 3:31 PM, David Pollak < >> feeder.of.the.be...@gmail.com> wrote: >> >>> >>> >>> On Sun, May 3, 2009 at 6:18 AM, Daniel Guryca <dun...@gmail.com> wrote: >>> >>>> Hi David, >>>> >>>> Thank you for your reply. >>>> >>>> How and where can I set production vs development mode in lift ? >>> >>> >>> Set the "run.mode" system property to "production" I do that with >>> -Drun.mode=production when I start Jetty, but you may do it differently. >>> >>> Also, In the basic app, there's an RDBMS request for the User object on >>> each page load and if you've got Derby configured, that's going to slow >>> things down. >>> >>> >>> >>>> >>>> Thank you again. >>>> Daniel >>>> >>>> On Sun, May 3, 2009 at 3:12 PM, David Pollak < >>>> feeder.of.the.be...@gmail.com> wrote: >>>> >>>>> Are you running Lift in production or development mode? >>>>> I typically see 300 pages/second to 800 pages/second when I do >>>>> benchmarks on dual core opteron machines. >>>>> >>>>> I'll look into this, but you should be seeing north of 300 pages per >>>>> second with simple pages in Lift. >>>>> >>>>> >>>>> On Sat, May 2, 2009 at 1:32 PM, Dunsun <dun...@gmail.com> wrote: >>>>> >>>>>> >>>>>> Hi, >>>>>> >>>>>> I'm very new to lift and scala. >>>>>> >>>>>> I have made some Grails intranet applications but sadly Grails or >>>>>> better say GSP rendering part which is completely written in Groovy is >>>>>> a very slow beast (even in comparison with Rails or Django). >>>>>> >>>>>> For my future big project (heavy loaded site) I need something much >>>>>> faster. >>>>>> >>>>>> So I have made some quick and dirty Lift benchmarks using ApacheBench >>>>>> + Tomcat, GlassFish (from netbeans) and even Jetty. >>>>>> My machine - AMD X2 @ 2500Mhz, 4 GB RAM >>>>>> >>>>>> LIFT BASIC SAMPLE: >>>>>> ab -c 10 -n 3000 >>>>>> http://localhost:8080/liftbasic-1.0-SNAPSHOT/user_mgt/login >>>>>> 50 req/s >>>>>> >>>>>> LIFT BLANK SAMPLE: >>>>>> ab -c 10 -n 3000 http://localhost:8080/liftblank-1.0/ >>>>>> 120 req/s >>>>>> >>>>>> Obtained numbers were similar for all 3 servers. >>>>>> >>>>>> Using Stripes and rendering similar simple pages I'm getting much much >>>>>> higher scores (600 req/s). >>>>>> Using Grails I'm getting little worse results but I would say it is >>>>>> same league. >>>>>> I would expect much better performance from Lift which is written in >>>>>> scala. >>>>>> >>>>>> Why am I getting these low numbers ? >>>>>> Am I doing something wrong ? >>>>>> Any suggestion is very welcome. >>>>>> >>>>>> regards >>>>>> Daniel >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Lift, the simply functional web framework http://liftweb.net >>>>> Beginning Scala http://www.apress.com/book/view/1430219890 >>>>> Follow me: http://twitter.com/dpp >>>>> Git some: http://github.com/dpp >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> -- >>> Lift, the simply functional web framework http://liftweb.net >>> Beginning Scala http://www.apress.com/book/view/1430219890 >>> Follow me: http://twitter.com/dpp >>> Git some: http://github.com/dpp >>> >>> >>> >> >> >> > > > -- > Lift, the simply functional web framework http://liftweb.net > Beginning Scala http://www.apress.com/book/view/1430219890 > Follow me: http://twitter.com/dpp > Git some: http://github.com/dpp > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@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=en -~----------~----~----~----~------~----~------~--~---