performance - why is lift framework so slow? -
i learning lift framework. used project template git://github.com/lift/lift_25_sbt.git , started server container:start sbt command.
this template application displays simple menu. if use ab apache measure performance, pretty bad. missing fundamental improve performance?
c:\program files\apache software foundation\httpd-2.0.64\apache2\bin>ab -n 30 -c 10 http://127.0.0.1:8080/ benchmarking 127.0.0.1 (be patient).....done server software: jetty(8.1.7.v20120910) server hostname: 127.0.0.1 server port: 8080 document path: / document length: 2877 bytes concurrency level: 10 time taken tests: 8.15625 seconds complete requests: 30 failed requests: 0 write errors: 0 total transferred: 96275 bytes html transferred: 86310 bytes requests per second: 3.74 [#/sec] (mean) time per request: 2671.875 [ms] (mean) time per request: 267.188 [ms] (mean, across concurrent requests) transfer rate: 11.73 [kbytes/sec] received
are running in production mode? found had 30 rps in devel, on 250 in production mode. ( https://www.assembla.com/spaces/liftweb/wiki/run_modes )
Comments
Post a Comment