Re: [mapserver-users] Mapserver speed/load test

2016-10-04 Thread Märt Reose
Hey!

I would recommend running mapserver under linux. I have found that the best 
performance is with mapserver with fastcgi using unix socket and nginx reading 
directly from that socket.

Nginx is good as it has a smaller memory footprint than apache and thus is more 
capable under heavy loads.

Usually best performance gain is "caching" the images. I use mapproxy (mapproxy 
+ gunicorn + eventlet + unix socket + nginx). Some people recommend mapcache 
but I havent found time to try it out yet. Ofcourse with dynamic maps caching 
might not be suitable. Depends on your use case.

Ofcourse you can optimize your data source, if using postgis, then maybe 
setting up some kind of cluster or connection pooling.

And if all that is not your thing, then optimize your maps.. 
http://www.mapserver.org/optimization/index.html   That might be the easiest of 
them all, depending on your use case.

And no matter what you try, ALWAYS performance test! Before I used jmeter, but 
am looking into locust.io. You should not measure performance with your gut. 
Use numbers.



Cheers!

Märt Reose

Leading Systems Administrator of Server Services Department
IT and Development Centre. Ministry of Interior, Estonia



-Original Message-
From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of Vogt, Robert (RCIS)
Sent: Tuesday, October 04, 2016 6:05 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Mapserver speed/load test

I'm curious if there have been any performance test performed with IIS vs. 
Apache.

Currently I have used MS4W to install Mapserver using "Fast-cgi" however I am 
getting poor performance.

Is there any benefit to using a IIS installation over Apache or vice versa as 
far a speed is concerned?

-Bob

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Mapserver speed/load test

2016-10-04 Thread Rahkonen Jukka (MML)
Hi,

I would say that if web server is the slowest link in your rendering chain then 
you have optimized all the rest amazingly well. I am doubtful but I haven't 
done such comparison, though.

- Jukka Rahkonen-

Lähettäjä: Vogt, Robert   (RCIS)
Lähetetty: ‎4.‎10.‎2016 18:26
Vastaanottaja: 
mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] Mapserver speed/load test

I'm curious if there have been any performance test performed with IIS vs. 
Apache.

Currently I have used MS4W to install Mapserver using "Fast-cgi" however I am 
getting poor performance.

Is there any benefit to using a IIS installation over Apache or vice versa as 
far a speed is concerned?

-Bob

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Mapserver speed/load test

2016-10-04 Thread Vogt, Robert (RCIS)
I'm curious if there have been any performance test performed with IIS vs. 
Apache.

Currently I have used MS4W to install Mapserver using "Fast-cgi" however I am 
getting poor performance.

Is there any benefit to using a IIS installation over Apache or vice versa as 
far a speed is concerned?

-Bob

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Updating MapCache on feature edits

2016-10-04 Thread Eichner, Andreas - SID
Seth,

you can use OGR to retrieve the updated features and give it to mapcache_seed.
See 
http://mapserver.org/mapcache/seed.html#optional-commandline-options-when-using-ogr-geos
 .

The ows_updatesequence metadata signals changes in the metadata returned by a 
GetCapabilities request, i.e. when adding/removing layers, descriptions and the 
like.

HTH
 
> -Ursprüngliche Nachricht-
> Von: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] Im
> Auftrag von Seth G
> Gesendet: Sonntag, 2. Oktober 2016 15:23
> An: mapserver-users@lists.osgeo.org
> Betreff: [mapserver-users] Updating MapCache on feature edits
> 
> Hi list,
> 
> I have a few MapServer layers based on data that can be edited at any
> time. In practice this usually happens in short bursts every month or so.
> The remaining time the layers would benefit greatly from using a tile
> cache.
> 
> Are there any suggested methods on how to automatically
> purge/delete/change the cache when an edit happens when using MapServer
> and Mapcache?
> 
> I see that GeoWebCache/Geoserver allows a GeoRSS feed to invalidate
> features
> http://geowebcache.org/docs/current/configuration/layers/georss.html
> 
> 
> The ows_updatesequence metadata parameter for a WMS layer looks like it
> could be used somehow (see http://mapserver.org/ogc/wms_server.html#web-
> object-metadata), but it seems that custom dimensions need to be requested
> by the client, and any Mapcache configurations would need Apache to be
> restarted.
> 
> Any best practices, or solutions appreciated,
> 
> Seth
> 
> 
> --
> web: http://geographika.co.uk 
> twitter: @geographika
> 
> 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users