[Qgis-developer] (no subject)

Rob Marjot robmarjot at gmail.com
Wed Jan 11 04:42:57 PST 2017


---------- Forwarded message ----------
From: "Rob Marjot" <robmarjot at gmail.com>
Date: Jan 10, 2017 07:51
Subject: Re: [Qgis-developer] QGIS Server FCGI: retained data / deferred
freeing of resources between requests
To: <qgis-developer at lists.osgeo.org>
Cc:

Hi all,

How about the switching between .qgs files for subsequent requests handled
by a single fcgi instance?

Hope someone can just shed a bit more light on this.

Rob

On Jan 9, 2017 10:18, "Rob Marjot" <robmarjot at gmail.com> wrote:

> Hi list,
>
> Thanks Alessandro. Indeed, I started looking in to the source. It made me
> wonder: how does a QGIS Server fcgi instance go about varying MAP=...
> parameters in subsequent requests?
>
> From source it seems to me that the QgsProject object is retained across
> the handling of requests (by its fcgi loop). Yet: how about requests coming
> in that pass different "MAP=" parameters, selecting different .qgs files?
>
> Thanks
> Rob
>
>
> On Jan 9, 2017 08:48, "Alessandro Pasotti" <apasotti at gmail.com> wrote:
>
> Hi,
>
> QGIS Server is being deeply refactored, and the new implementation is
> described in https://github.com/qgis/QGIS-Enhancement-Proposals/issues/74
>
> and: https://github.com/qgis/QGIS/pull/3866
>
> The current implementation has some limited caching of the capabilities
> (taken from the project .qgs file).
>
> Note that with some performance degradation you can still run the server
> as plain old CGI.
>
> AFAIK there are no documents about the implemementation: follow the source
> Luke :)
>
>
> Cheers.
>
>
>
> On Mon, Jan 9, 2017 at 1:11 AM, Rob Marjot <robmarjot at gmail.com> wrote:
>
>> Dear list,
>>
>> I am currently evaluating QGIS Server as rendering backend for my new
>> project; can you give me some insight in the architecture / implementation?
>> To pose my question more specific: with QGIS Server being a fcgi
>> application, what data (e.g. parsed .qgs file?) is retained and/or freeing
>> of resources is deferred between requests?
>>
>> Much appreciated if any of you can shed a bit of light to the
>> implementation details of QGIS Server. Possibly there is technical
>> documentation available online?
>>
>> Thanks
>> Rob
>>
>> _______________________________________________
>> 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
>>
>
>
>
> --
> Alessandro Pasotti
> w3:   www.itopen.it
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170111/87fc551c/attachment-0001.html>


More information about the Qgis-developer mailing list