[MapServer-users] Speed of WMS vs Speed of WCS; How to speed up WCS service?

Seth G sethg at geographika.co.uk
Wed Jul 26 03:58:59 PDT 2023


Hi Marcin,

As a first test I'd recommend adding in EXTENTs to all your layers (and ensuring they are correct):

EXTENT 1334552.857598 5342648.587634 4715044.821842 7547620.486088

If these are missing MapServer will often try and calculate these from the datasource automatically. Depending on the request type this calculation could be made multiple times.

Seth

--
web:https://geographika.net & https://mapserverstudio.net
twitter: @geographika

On Wed, Jul 26, 2023, at 11:53 AM, Marcin Niemyjski via MapServer-users wrote:
> Hello,
> 
> I have a problem, Namely, I have created a WCS and here is its mapfile:
> https://pastecode.io/s/6v3qfssb
> 
> For a better understanding, here is a view of the tileindex through which the data is served:
> https://pasteboard.co/ydgvDiqxz4lf.png
> 
> I am connecting to files located in a private bucket, so I am using vsis3.
> 
> The WMS loads quite fast, but the issue arises with the time it takes to generate a requested WCS tile:
>  https://pasteboard.co/8G8uF41jqgHc.png
> 
> It takes almost 5 minutes to generate the tile, and the received data is 1.5 MiB (which is it's actual size).
> 
> Additionally, I am sending you URLs to sample data:
> https://s3.waw3-1.cloudferro.com/swift/v1/Julien/Data/T34UFD_20230708T093549_TCI_60m.jp2
> https://s3.waw3-1.cloudferro.com/swift/v1/Julien/Data/T37TCN_20220605T083559_TCI_60m.jp2
> 
> The case is - how to speed it up? Am I making any goofy mistakes?
> I would be grateful for any recommendations or if you notice any errors, I might be making :)
> 
> Best,
> Marcin
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230726/99d3208a/attachment.htm>


More information about the MapServer-users mailing list