<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Devs,<br>
<br>
I have made some analyse of the performances data generated by
CampToCamp test platform.<br>
The data are downloadable here
<a class="moz-txt-link-freetext" href="https://gmf-test.sig.cloud.camptocamp.net/ms_perfs/">https://gmf-test.sig.cloud.camptocamp.net/ms_perfs/</a><br>
And the tests are based on this docker-pull:
<a class="moz-txt-link-freetext" href="https://github.com/camptocamp/ms_perfs">https://github.com/camptocamp/ms_perfs</a><br>
<br>
The QGIS Server docker used for these tests are based on the Kartoza
one updated by CampToCamp<br>
<a class="moz-txt-link-freetext" href="https://github.com/kartoza/docker-qgis-server">https://github.com/kartoza/docker-qgis-server</a> It is based on Apache
Server and FCGI.<br>
<br>
The data comes from OpenStreetMap and are stored in a
PostgreSQL/PostGIS database.<br>
One type of request is tested, GetMap. Varoious number of
simultaneous users and various scale <br>
are tested.<br>
<br>
To give an answer to the question : Is QGIS Server 3 fast yet ? , I
only used the values for 10 simultaneous<br>
users.<br>
<br>
If the reference to the question is QGIS Server 2: QGIS Server 3 is
NOT faster even with the trust option activated in the project.<br>
QGIS Server 3 is always slower than QGIS Server 2, when only one
layer is requested.<br>
In the tests, QGIS Sever 3 is faster than QGIS Server 2 with
multi-layers and complex styles.<br>
<br>
This result can be easily explain by the new way QGIS Server is
loaded project. QGIS Server 3 uses the QgsProject class, so all the
<br>
project : layers and layouts are loaded even if only one layer is
requested.<br>
<br>
About the trust project option, the results are a little bit <span
id="result_box" class="short_text" lang="en"><span class="">disappointing.
The performances are not always better than without.<br>
For higher scale (1° by 800px), requests are slower, but for
lower scale (</span></span><span id="result_box"
class="short_text" lang="en"><span class=""><span class="cwcot"
id="cwos">0.015</span></span></span><span id="result_box"
class="short_text" lang="en"><span class=""><span class="cwcot"
id="cwos"><span class="cwcot" id="cwos">625° by 800px)</span></span>,
they are faster.<br>
<br>
Now if we consired GeoServer-jai as a reference, QGIS Server 3
is slower in lower sacle (0.03125° by 800px)<br>
</span></span><span id="result_box" class="short_text" lang="en"><span
class=""><span id="result_box" class="short_text" lang="en"><span
class="">Now if we consired Mapserver as a reference, QGIS
Server 3 is slower!<br>
<br>
We have to test some configuration:<br>
* disable simplify local<br>
* change simplify max scale<br>
<br>
Points of enhancement have to be explored :<br>
* Faster QgsProject loading based on project parsing <br>
* Simplify configuration at layer level<br>
* Completing trust option<br>
<br>
Regards,<br>
René-Luc<br>
* Enhance simplification<br>
</span></span></span></span>
</body>
</html>