<div dir="ltr">In regards to setting up the mapproxy service we are using gunicorn as the backend WSGI server with a nginx proxy.  I have noticed that gunicorn is no longer mentioned in the docs and there have been some issues newer versions (we use v 18).  So using uwsgi is probably a good choice<br><div><br></div><div><br></div><div>Regards.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 19 May 2020 at 09:20, Loïc Vasseur <<a href="mailto:loicv80@hotmail.fr">loicv80@hotmail.fr</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 dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hello thank you all for your answer. We will try to use uwsgi for our production mode. I keep you inform.</div>
<div>
<div id="gmail-m_7436897820981627553appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_7436897820981627553divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De :</b> Travis Kirstine <<a href="mailto:traviskirstine@gmail.com" target="_blank">traviskirstine@gmail.com</a>><br>
<b>Envoyé :</b> jeudi 14 mai 2020 12:09<br>
<b>À :</b> Juan Carvajal B. <<a href="mailto:juan@mediaarchitecture.org" target="_blank">juan@mediaarchitecture.org</a>><br>
<b>Cc :</b> Loïc Vasseur <<a href="mailto:loicv80@hotmail.fr" target="_blank">loicv80@hotmail.fr</a>>; <a href="mailto:mapproxy@lists.osgeo.org" target="_blank">mapproxy@lists.osgeo.org</a> <<a href="mailto:mapproxy@lists.osgeo.org" target="_blank">mapproxy@lists.osgeo.org</a>><br>
<b>Objet :</b> Re: [MapProxy] MapProxy minimal for production mode</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>We run two instances as you've described using keepalived and its worked fine. I believe that in the docs they recommend implementing sticky sessions if possible. 
<br>
</div>
<div><br>
</div>
<div>Regards<br>
</div>
</div>
<br>
<div>
<div dir="ltr">On Wed, 13 May 2020 at 09:36, Juan Carvajal B. <<a href="mailto:juan@mediaarchitecture.org" target="_blank">juan@mediaarchitecture.org</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div></div>
<div>Hello Loïc,</div>
<div><br>
</div>
<div>have you had a look at docker? It allows you to have as many instances as you want.<br>
</div>
<div><a href="https://github.com/kartoza/docker-mapproxy" target="_blank">https://github.com/kartoza/docker-mapproxy</a></div>
<div><br>
</div>
<div>best,<br>
</div>
<div><br>
</div>
<div>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr"><b>Juan Carlos Carvajal Bermúdez<br>
+43 650 477 0005<br>
</b></div>
<div><b><a href="mailto:juan@mediaarchitecture.org" target="_blank">juan@mediaarchitecture.org</a><br>
</b></div>
<div dir="ltr"><b><a href="mailto:juca@juan-carlos.info" target="_blank">juca@juan-carlos.info</a><br>
Nordwestbahnstrasse 49/26<br>
AT 1200, Wien<br>
<a href="http://www.juan-carlos.info" target="_blank">www.juan-carlos.info</a><br>
</b></div>
<div dir="ltr"><b><br>
</b></div>
<div dir="ltr"><b>Join our <a href="http://lists.mediaarchitecture.org/?p=subscribe&id=1" target="_blank">
mailing list</a> (Max 1-mail / month)</b><br>
<br>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
<div>
<div dir="ltr">Am Mi., 13. Mai 2020 um 15:21 Uhr schrieb Loïc Vasseur <<a href="mailto:loicv80@hotmail.fr" target="_blank">loicv80@hotmail.fr</a>>:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hello,</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I wonder to know if I can run MapProxy in production using the embedded HTTP server ? I want to use 2 instances of MapProxy, each on a debian server and behind a HAProxy for balancing requests.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Can I or it's not recommended at all ?</div>
</div>
_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org" target="_blank">MapProxy@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapproxy" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapproxy</a></blockquote>
</div>
_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org" target="_blank">MapProxy@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapproxy" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapproxy</a></blockquote>
</div>
</div>
</div>
</div>

</blockquote></div>