[mapguide-internals] Please review RFC151: Add layer definition cache

Haris Kurtagic haris at sl-king.com
Fri Sep 25 01:00:59 PDT 2015


+1
Haris

On Mon, Sep 21, 2015 at 9:40 AM, Andy Zhang <Andy.Zhang at autodesk.com> wrote:

> Hi Jackie,
>
> Thanks for your feedback.
> Currently, the internal object in the resource service cache is
> MdfModel::LayerDefinition object. It is got by method
> MgLayerBase::GetLayerDefinition(m_svcResource, layerid). I will update the
> code where calls MgLayerBase::GetLayerDefinition(m_svcResource, layerid) to
> use the cache. So both PreCacheMaps and
> MgResourceService.GetResourceContents() will NOT take advantage of the new
> cache now. We may add more internal objects to the resource service cache
> later.
>
> Best Regards
> Andy
>
> -----Original Message-----
> From: mapguide-internals-bounces at lists.osgeo.org [mailto:
> mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
> Sent: Monday, September 21, 2015 2:43 PM
> To: mapguide-internals at lists.osgeo.org
> Subject: Re: [mapguide-internals] Please review RFC151: Add layer
> definition cache
>
> Hi Andy,
>
> There is a PreCacheMaps property in serverconfig.ini that allows mgserver
> to pre-create a specified list of MgMap instances from the list of Map
> Definitions set.
>
> With the introduction of the layer definition cache, does using
> PreCacheMaps allow us to pre-load this cache?
>
> Similarly, does a call to MgResourceService.GetResourceContents() take
> advantage of this new layer definition cache if the list of resource ids
> includes layer definitions?
>
> - Jackie
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Please-review-RFC151-Add-layer-definition-cache-tp5225108p5225118.html
> Sent from the MapGuide Internals mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>


More information about the mapguide-internals mailing list