<div dir="ltr"><div dir="ltr"><div>Ciao Walter,</div><div><br></div><div>we use 5) Nginx + spawn-fcgi (a lighttpd project) in multiple Docker containers [0]. As a thumb rule I use one process per Docker with number of QGIS threads equal to the available CPU 'cores' and a number of Docker containers also equal to the number of CPUs. It depends anyway much on the workload (i.e. long running requests vs quick ones).<br></div><div><br></div><div>When not using containers I would go for 3) nginx + systemd.</div><div><br></div><div>Cheers,<br></div><div>Daniele</div><div><br></div><div>[0] <a href="https://github.com/gem/oq-qgis-server#qgis-3-server-via-docker">https://github.com/gem/oq-qgis-server#qgis-3-server-via-docker</a><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 25, 2019 at 11:15 AM Walter Lorenzetti <<a href="mailto:lorenzetti@gis3w.it">lorenzetti@gis3w.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Hi all,</p>
<p>I'm not a sysadmin but for our customers I'd like find the better
way for deploy QGIS-server 3.</p>
<p>I try at least 3 ways:</p>
<p>1) Apache2 + libapache2-mod-fcgid</p>
<p>2) Nginx + fcgiwrap</p>
<p>3) Nginx + QGIS-Server working by socket/service (systemd)<br>
</p>
<p>By delveloper side, what do you think is the best?</p>
<p>I'd like to much 3) solution, but I found some problems, in
particular, how many sockects I've to create watching at my
server? (Number of processors )</p>
<p>For 1) and 2) have you experiences on performance and tuning?</p>
<p>Thanks in advance and thanks for work!</p>
<p>W<br>
</p>
<div class="gmail-m_5250920444105780717moz-signature">-- <br>
<p style="font-size:12px">
Walter Lorenzetti phD<br>
email: <a class="gmail-m_5250920444105780717moz-txt-link-abbreviated" href="mailto:lorenzetti@gis3w.it" target="_blank">lorenzetti@gis3w.it</a><br>
skype: aiki74<br>
twitter:<a href="https://twitter.com/w_lorenzetti" target="_blank">w_lorenzetti</a><br>
g+:<a href="https://plus.google.com/117055903318462447104/" target="_blank">aiki74</a><br>
Tel/Cell: (+39) 347-6597931<br>
Viale Verdi 24 - 51016 Montecatini Terme (PT)
<br>
<a href="http://gis3w.it/it/calendario-corsi-software-geografici" target="_blank">Nuovi
corsi QGIS e GFOSS</a>
</p>
</div>
</div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><b><span style="color:rgb(153,153,153)">Daniele Viganò</span></b><br style="color:rgb(153,153,153)"><a style="color:rgb(51,51,255)" href="http://daniele.vigano.me" target="_blank">http://daniele.vigano.me</a></div>