-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate slowness of GetLegendGraphic with json format #74
Comments
From preliminary tests with a project with 400+ layers tests we do not observe any issues about the 'GetLegendGraphic' and py-qgis-server. Theer is two cases:
There is a notable slow down (x50) on a request with a access control filter since all layers are checked for permissions on each requests (wtich is a imlementation issue in QGIS server itself). A simple GetLegendGraphic without filter takes only few ms while a request with all filters activated will take about 400 to 800 ms As a matter of fact requesting json output is twice faster than requesting png output in both cases. All requests are direct http requests to py-qgis-server itself. |
Thanks for your investigations. |
Stick to QGIS 3.34: we hope that qgis/QGIS#58937 will be merged and backported soon. |
Hey there, |
It won't as 3.34 is not concerned by the issue fixed by qgis/QGIS#58937 , only 3.38 - There will be no more release of 3.38, so you should avoid 3.38. |
How should I understand this then ? |
Afaik, there is no issues with Qgis 3.34 since what produced slowness with access control was not ported to 3.34. We have not been able to reproduce any slowness with Qgis 3.34. |
What about this there is no way to fix it then |
I don't know since I have not been able to reproduce the issue with Qgis 3.34 |
Make sure you was using 3.34 at this time and not QGIS 3.38. |
Issue appeared with 3.28 and was not fixed by upgrading to 3.34.
|
I think there is a mix in the discussion here ;-) @dmarteau is talking about a regression only in 3.38.3. This regression is not in 3.38.2. Only one release is impacted by the issue reported @dmarteau. Then, the issue raised in this tiicket description 3liz/lizmap-web-client#4521 was not reproduced. (which was before 3.38.3 was released) |
Issue has been fixed in QGIS 3.40 which has replaced 3.38 as current release |
Issue is still there with Lizmlap Web Client 3.8 and Qgis server 3.40 |
This is a problem related to Qgis server plugins: if you think it is related to py-qgis-server, plz narrow your tests by disabling plugins and request GetLendGraphic directly to py-qgis-server (no Lizmap no plugins....). |
ref: 3liz/lizmap-web-client#4521
The text was updated successfully, but these errors were encountered: