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

Re: mod_perl2 installed, but scripts still slow


look up

Apache::DBI
and
Apache::DBI::connect_on_init

that should speed up your system quite a bit - as you're connecting to the DB on every request

you can also pre-cache your Petal templates on startup- if you're using the 2.19 patch, just pass in the 'cache_only' flag, and it will compile to disk+memory

you have petal's disk caching off too. having that on will save a chunk of time between restarts and child processes



Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.