[Qgis-developer] Is QGIS Server thread safe?

Marco Hugentobler marco.hugentobler at sourcepole.ch
Mon May 9 23:31:53 PDT 2016


Hi Giovanni

No, the server classes (same as most QGIS classes outside of data access 
/ rendering ) are not thread safe. The server handles multiple requests 
in different processes.

Regards,
Marco

On 05/09/16 23:09, G. Allegri wrote:
>
> Today me and my collegues were experimenting with a QgsApplication 
> instance within a python web application.
> While doing some tests on concurrency a question arised in my mind: is 
> QGIS Server supposed to manage concurrent requests when run as FastCGI?
>
> Probably it's a noob question but I haven't been able to give me a 
> clear answer...
>
> Giovanni
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160510/323523a6/attachment.html>


More information about the Qgis-developer mailing list