[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Call for testers: LedgerSMB running as a persistent service using Plack

On 16/08/2012 12:56, Chris Travers wrote:

On Thu, Aug 16, 2012 at 4:22 AM, Nigel Titley <..hidden..> wrote:
We'd be very interested in this. I've often wondered how much overhead there was in continually loading and unloading modules

Based on my studies and profiling, it seems to be relatively consistent at approx 2-3 seconds, in 1.3, per page load.
Yes, that would be about right. We run it on a reasonably powerful box (2.3G dual core with 2G), which also runs the database. I was just thinking of moving the database off onto a different box to try and get a speed boost.

Interestingly if I just try to run as is under Starlet performance goes through the floor (6 sec + per pageload). but if I pre-load the expensive modules in my .psgi file, it goes down to under a second in 1.4 (should be similar under 1.3).  There is probably room for more tuning than this but this is where I have gotten so far.

That should make it feel a lot snappier.