From: Andy Grundman Date: Wed, 9 May 2007 17:26:15 +0000 (+0000) Subject: Update dev server info in the Cookbook, took out warnings about IE and added more... X-Git-Tag: v5.8005~341 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=commitdiff_plain;h=ad2a47ab061de4e7716a1049b4485825eece7a7b Update dev server info in the Cookbook, took out warnings about IE and added more info about POE --- diff --git a/Changes b/Changes index 8709c25..42b96bb 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,9 @@ Revision history for Catalyst-Manual +5.700703 + - Cookbook: Updated development server deployment instructions, and + included a better description of the POE engine. + 5.700702 26 April 2007 - Switch to Module::Install diff --git a/lib/Catalyst/Manual.pm b/lib/Catalyst/Manual.pm index 76f3da9..ed37413 100644 --- a/lib/Catalyst/Manual.pm +++ b/lib/Catalyst/Manual.pm @@ -24,6 +24,6 @@ Tutorial. =cut -our $VERSION = '5.700702'; +our $VERSION = '5.700703'; 1; 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.