X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FCookbook.pod;h=6ad8555ab674549f357ea7aeb881d4fbbff9c965;hp=0184419c6e512e4cb64dd0086f585a2734658601;hb=ad2a47ab061de4e7716a1049b4485825eece7a7b;hpb=c1c35b01ac8231ccfd60b691c1b435f641c617f3 diff --git a/lib/Catalyst/Manual/Cookbook.pod b/lib/Catalyst/Manual/Cookbook.pod index 0184419..6ad8555 100644 --- a/lib/Catalyst/Manual/Cookbook.pod +++ b/lib/Catalyst/Manual/Cookbook.pod @@ -1703,12 +1703,10 @@ L. The development server is a mini web server written in perl. If you expect a low number of hits or you don't need mod_perl/FastCGI speed, you could use the development server as the application server with a -lightweight proxy web server at the front. However, be aware that -there are known issues, especially with Internet Explorer. Many of -these issues can be dealt with by running the server with the -k -(keepalive) option but be aware for more complex applications this may -not be suitable. Consider using Catalyst::Engine::HTTP::POE. This -recipe is easily adapted for POE as well. +lightweight proxy web server at the front. However, consider using +L for this kind of deployment instead, since +it can better handle multiple concurrent requests without forking, or can +prefork a set number of servers for improved performance. =head3 Pros @@ -1733,7 +1731,7 @@ save forking. =head4 Start up the development server - script/myapp_server.pl -p 8080 -k -f -pidfile=/tmp/myapp.pid -daemon + script/myapp_server.pl -p 8080 -k -f -pidfile=/tmp/myapp.pid You will probably want to write an init script to handle stop/starting the app using the pid file.