[mapguide-internals] Re: Please review RFC 73
Christine.Bao at autodesk.com
Mon Jul 13 22:28:11 EDT 2009
Thanks for your comments. I agree with your opinion and I think we are on the same page :)
1) I agree the performance gain is thin regarding xmldb part. For example, if getting one resource content takes n seconds, and there are m resources. Replacing with a sequence calls will take n *m seconds possibly, and it won't reduce a lot compared with before. The motivation of this RFC is actually reducing network communication instead of xmldb query. By combining calls we can reduce the overhead of http significantly.
Thanks & regards,
From: "Kenneth Skovhede, GEOGRAF A/S" <ks at geograf.dk>
Subject: Re: [mapguide-internals] Re: Please review RFC 73
To: MapGuide Internals Mail List <mapguide-internals at lists.osgeo.org>
Message-ID: <4A5AE27C.3020703 at geograf.dk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
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.
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
More information about the mapguide-internals