Ian Docherty wrote:
I would just like to canvas opinion on a good development environment
and practices for Catalyst since we are starting to have some
performance issues.
We are running on a managed server (Red Hat Enterprise), Apache2,
MySql 5.1
We have several people developing on this machine (about 5), each with
their own sandboxes.
I have set up apache so that each developer runs their Catalyst
application under fast-cgi.
We are beginning to see some performance issues especially with
several people testing at the same time on different fast-cgi processes.
The 'top' command shows 'server.pl' and 'perl' taking the bulk of the
cpu time.
CPU time? Look at paging first of all. How much RAM do you have? How
much swap is your server using? Look at top, especially at system time
percentage.
Best case for a simple dynamic page in Catalyst to respond is about 5
seconds. With several people testing at the same time it can take 30
seconds or more to respond to a simple page. I would have hoped for
only a second or so on such a lightly loaded server.
Try catalyst-server, it does some (extremly basic) profiling.
Alex.
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/