<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div>Although that plugin might have some convenience value for development, I can't see using it for real work. &nbsp;If you need to process long running tasks your best best is a job queue. &nbsp; You can setup one or use one of many available infrastructure as a service systems. (see Iron.io. etc)</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">jnap</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue',
 Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"> <div dir="ltr"> <font size="2" face="Arial"> On Monday, October 6, 2014 8:53 AM, Antonio Soro &lt;antonio.soro@koinesistemi.it&gt; wrote:<br> </font> </div>  <br><br> <div class="y_msg_container">Hello,<br>I plan to run server code in asynchronous mode after a response back to the<br>client made from an action code in a Catalyst controller.<br><br>I'm using Catalyst::Plugin::RunAfterRequest plugin in a Catalyst 5.80<br>environment started in 'FastCGI' mode, called by Apache2 httpd server, with<br>FastCgiExternalServer directive of mod_fastcgi.c module (v2.4.6), in a Linux<br>UBUNTU box with Perl 5.12.4.<br><br>It seems, in that environment, response for client request occurs after long<br>time processing, differently that I run Catalyst Runtime in 'Server' mode<br>where response back to the client occurs immediately and long time processing<br>occurs delayed. <br><br>Can somebody tell me
 this behavior is correct or there is something wrong?<br>Are there better methods to call long-time-running code across<br>Apache/FastCGI/Catalyst ?<br><br>Thanks for feedback.<br>Antonio Soro.<br><br>-----------------------------------------------------------------------<br>Questa comunicazione e ogni eventuale file allegato sono confidenziali <br>e destinati all'uso esclusivo del destinatario. Se avete ricevuto <br>questo messaggio per errore Vi preghiamo di comunicarlo al mittente e <br>distruggere quanto ricevuto.<br><br><br>_______________________________________________<br>List: <a ymailto="mailto:Catalyst@lists.scsys.co.uk" href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a><br>Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/"
 target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>Dev site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br><br><br></div>  </div> </div>  </div> </div></body></html>