Stefan Scholl <[email protected]> wrote: > Chris Double <[email protected]> wrote: >> On Mon, Nov 23, 2009 at 11:09 PM, Stefan Scholl <[email protected]> wrote: >>> Just the speed concerns me a bit. >> >> webapps.calculator uses the sqlite database backend which is quite >> slow (sqlite isn't slow but for some reason using it as the web >> database for Factor it is). Try either changing this to one of the >> other backends. >> >> Make sure you test with the development? global turned off (the >> default is off so it'll only matter if you've turned it on). With this >> on things are very slow. > > Removed sqlite. No development? set by me. > > > Concurrency Level: 10 > Time taken for tests: 12.919 seconds > Complete requests: 1000 > Failed requests: 0 > Write errors: 0 > Total transferred: 672000 bytes > HTML transferred: 515000 bytes > Requests per second: 77.40 [#/sec] (mean) > Time per request: 129.193 [ms] (mean) > Time per request: 12.919 [ms] (mean, across all concurrent requests) > Transfer rate: 50.80 [Kbytes/sec] received > > > With sqlite it was 34 req/sec.
If somebody reads this and thinks 77 req/sec is slow: This is on a very old Linux server. Even a VPS should be quicker than that. Result on an iMac (Core 2 Duo, 3.06 GHz, 4 GiB RAM, 1.07 GHz bus, 64 bit Factor): Concurrency Level: 10 Time taken for tests: 1.184 seconds Complete requests: 1000 Failed requests: 0 Write errors: 0 Total transferred: 672000 bytes HTML transferred: 515000 bytes Requests per second: 844.74 [#/sec] (mean) Time per request: 11.838 [ms] (mean) Time per request: 1.184 [ms] (mean, across all concurrent requests) Transfer rate: 554.36 [Kbytes/sec] received (With sqlite 220 req/sec.) That's no record. But it's enough, even on systems just half as fast. I'd guess without chloe it could be a bit faster. If it's worth it. -- Web (en): http://www.no-spoon.de/ -*- Web (de): http://www.frell.de/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
