[mapguide-internals] Re: Please review RFC 73

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Mon Jul 13 03:30:04 EDT 2009


1)
If you replace a sequence of GetResourceContent calls,
I would expect that the only performance improvement
is perhaps the absense of a number of locking calls.
The actual time is, AFAIK, spent in the xmldb code,
making little room for perfomance gains.

So, the motivation is a bit thin, but the calling code
will likely benefit from the combined call.

2) Ok

3)
I have yet to figure out the MapGuide macro system, so I can't help you 
there :).
I just have a desire to be able to call the WebTier and get multiple 
resources
with one call instead of many. The http overhead is quite significant.

Regards, Kenneth Skovhede, GEOGRAF A/S



Christine Bao skrev:
> Hi Kenneth,
>
>      Thank you for your comments.
>
> 1.  The load that would be removed would be for sequential requests to the XmlDb?
>
> I'm not sure about your meaning. If you're talking about how to get the collection of resource contents by the collection of resource ids, I'm going to leverage the existing GetResourceContent(resourceid, preprocesstag) function. Yes, it will call XmlDb by a sequential requests.
>
> 2.       How much improved?
>
> It's hard to give a number. The more layers in a map, the more significantly improved. We'll have performance test later to see how it improves.
>
> 3.       Expose to WebTier
>
> Yes, then it should be PUBLISHED_API instead of INTERNAL_API, is it right?
>
> Thanks & regards,
> Christine
>
>
>
> From: "Kenneth Skovhede, GEOGRAF A/S" <ks at geograf.dk>
>
> Subject: Re: [mapguide-internals] Please review RFC 73
>
> To: MapGuide Internals Mail List <mapguide-internals at lists.osgeo.org>
>
> Message-ID: <4A53272C.8020502 at geograf.dk>
>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>
>
> The load that would be removed would be for sequential requests to the
>
> XmlDb?
>
>
>
> This is definately a logic improvement, but have you quantified how much
>
> faster this will make the MgMap operation?
>
>
>
> Would you consider exposing this improved function to the WebTier?
>
>
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
> _______________________________________________
> 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