[Qgis-developer] Is QGIS Server thread safe?
G. Allegri
giohappy at gmail.com
Tue May 10 01:44:21 PDT 2016
Right, thanks.
I didn't know fastcgi was conceptually designed to do single threading, and
that apache mod_fcgid spawns a new process for each single request. That's
wht I was looking into QGIS Server itself.
We usually use different deployment means, but it's important to have a
clear answer on QGIS Server non thread safety.
Thanks,
giovanni
Il 10/mag/2016 10:20 AM, "Marco Hugentobler" <
marco.hugentobler at sourcepole.ch> ha scritto:
On 05/10/16 10:05, G. Allegri wrote:
Hi Marco, thanks for the reply.
I imagined that but I couldn't find where QGIS Server spawns new processes
to handle the incoming requests. Could you point me to the lines where it
happens?
QGIS Server does not spawn the new processes itself. This is done by the
apache fcgid module (https://httpd.apache.org/mod_fcgid/).
Regards,
Marco
giovanni
Il 09/mag/2016 11:09 PM, "G. Allegri" <giohappy at gmail.com> ha scritto:
> 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 listQgis-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,
Switzerlandmarco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160510/632a46e0/attachment.html>
More information about the Qgis-developer
mailing list