Hello,
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.
Can I or it's not recommended at all ?
_______________________________________________ MapProxy mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/mapproxy |
Hello Loïc, have you had a look at docker? It allows you to have as many instances as you want. best, Juan Carlos Carvajal Bermúdez +43 650 477 0005 Am Mi., 13. Mai 2020 um 15:21 Uhr schrieb Loïc Vasseur <[hidden email]>:
_______________________________________________ MapProxy mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/mapproxy |
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. Regards On Wed, 13 May 2020 at 09:36, Juan Carvajal B. <[hidden email]> wrote:
_______________________________________________ MapProxy mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/mapproxy |
Hello thank you all for your answer. We will try to use uwsgi for our production mode. I keep you inform.
De : Travis Kirstine <[hidden email]>
Envoyé : jeudi 14 mai 2020 12:09 À : Juan Carvajal B. <[hidden email]> Cc : Loïc Vasseur <[hidden email]>; [hidden email] <[hidden email]> Objet : Re: [MapProxy] MapProxy minimal for production mode 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.
Regards
On Wed, 13 May 2020 at 09:36, Juan Carvajal B. <[hidden email]> wrote:
_______________________________________________ MapProxy mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/mapproxy |
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 Regards. On Tue, 19 May 2020 at 09:20, Loïc Vasseur <[hidden email]> wrote:
_______________________________________________ MapProxy mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/mapproxy |
Am 19.05.2020 um 17:21 schrieb Travis Kirstine:
> 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 I've got good results with https://github.com/jonashaag/bjoern I've written a WSGI-benchmark, which tests the best performance on my servers. I really should create a GIT repository with that. Also, Caddy2 webbrowser (now OpenSource) had a better performance than Apache2 and nginx here. It's hard for me to use nginx on some projects, since there might be known problems with copyright. @ Travis: Sorry, I've pressed the wrong button before. It didn't intend to send you a private message :-) _______________________________________________ MapProxy mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/mapproxy |
I use waitress for wsgi behind an nginx reverse proxy and it works just fine, but performance is not an issue for us so I've never tested it against others. We use mapproxy to cache airphotos and hillshades used in our county webmaps. Initially I chose waitress because it will run on Windows. I was going to try to put it in a Windows docker but every time I install Docker on our Windows server it wants to curl up in a little ball so I run it on Debian. Our full rollout uses 4 docker containers. 1 reverse proxy, 2 manages Let's Encrypt certificates, 3 MapProxy, and 4 CouchDB (the tile store for mapproxy). I could split them off onto separate machines but as I said, there is no performance problem so there is no need. Brian _______________________________________________ MapProxy mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/mapproxy |
Free forum by Nabble | Edit this page |