[Catalyst] dbic models and startup time server

Brandon Black blblack at gmail.com
Mon Aug 21 22:42:18 CEST 2006


On 8/21/06, Josef Chladek <j.chladek at wirtschaftsblatt.at> wrote:
>
> hi,
>
> we have a CRUD/cms app that uses many (approx. 20) dbic models/
> schemas. the startup time for xxxx_server.pl takes a lot of time (1
> min or so), when we run it under mod_perl restarting of apache takes
> also very long. we tried using
>
> http://marcusramberg.livejournal.com/30525.html
>
> to speed up things, which helped, but still it is hard to develop as
> any change to the code and restarting takes ages.
> are we doing something wrong? any chance of speeding it up? splitting
> it into 20 apps with one model/schema each is not a solution we want
> to go - any hints on this?


Are you using real schemas, or Schema::Loader? (If you're using
Schema::Loader at runtime, the advice would be to stop doing that).

If you're not, then you'll just have to wait for future performance
improvements, a few of which are in the early development stages.

-- Brandon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060821/71b83ba5/attachment.htm 


More information about the Catalyst mailing list