<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello David<br>
I use nginx or Apache ( as proxy ) of starman with pre forked
process since long month<br>
<br>
This is very fast, more than apache + fcgi<br>
<br>
Hugues<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Le 03/11/2015 06:02, David H a écrit :<br>
</div>
<blockquote
cite="mid:CAPZ5pF5=CUDNZgyjmRaX=SYfJEmQ_Sx-qvhUdkFKgh7hkG62-Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hi All,<br>
<br>
</div>
I just need some basic advice on deploying Dancer2
onto RedHat.<br>
</div>
I am wanting to deploy it to be multithreaded, or at
least not to block when it is running requests.<br>
<br>
</div>
Starman and Twiggy both seem to not want to run
multithreads for some reason and I tried the Apache way
and it just seems to compile the code everytime which
ended up being not any faster than a single thread.<br>
<br>
</div>
What ways do people here deploy the app to be
fast/multi-threaded?<br>
<br>
</div>
I tried this:<br>
<br>
<a moz-do-not-send="true"
href="http://search.cpan.org/dist/Dancer/lib/Dancer/Deployment.pod#Running_as_a_cgi-script_%28or_fast-cgi%29_under_Apache">http://search.cpan.org/dist/Dancer/lib/Dancer/Deployment.pod#Running_as_a_cgi-script_%28or_fast-cgi%29_under_Apache</a><br>
</div>
<br>
However it seemed to recompile everything for every request.<br>
<br>
<div>
<div>
<div>
<div>I understand about static files being hosted in front
etc...as well, which I may do in the future.<br>
<br>
</div>
<div>Thanks,<br>
<br>
</div>
<div>David<br>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
dancer-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a>
<a class="moz-txt-link-freetext" href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Salutations</pre>
</body>
</html>