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" <robmar...@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" <apaso...@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 <robmar...@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@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 > > >
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer