Changes between Version 9 and Version 10 of MapGuideRfc110
- Timestamp:
- 04/21/11 23:20:34 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified MapGuideRfc110
v9 v10 198 198 199 199 Solution 1. 200 Copy the implementation of profiling related APIs to !MgServerProfilingService and add profiling code into the copied version, for example, copy the implementation of !RenderMap in !MgServerRenderingService(and all other MG server APIs invoked in !RenderMap) to !MgServerProfilingService. The advantage and disadvantage of this implementation is obvious: less influence on the origi al implementation but heavy maintainence to do in the future.200 Copy the implementation of profiling related APIs to !MgServerProfilingService and add profiling code into the copied version, for example, copy the implementation of !RenderMap in !MgServerRenderingService(and all other MG server APIs invoked in !RenderMap) to !MgServerProfilingService. The advantage and disadvantage of this implementation is obvious: less influence on the original implementation but heavy maintenance to do in the future. 201 201 202 202 Solution 2. 203 203 Inject the profiling code into the functions being profiled, which means !MgServerServices should be extended to accept a !ProfileResult and the implementation of some APIs will updated to support profiling. For example, to support profiling !RenderMap, all the !MgServerServices in the !RenderMap workflow will be affected - !MgServerRenderingService, !MgServerResourceService, !MgServerFeatureService, !MgServerDescribeSchema, !MgServerSelectFeatures, etc. 204 204 205 For both solu stions, how many code should be copied or updated will be decided by how detailed information would be gathered.205 For both solutions, how many code should be copied or updated will be decided by how detailed information would be gathered. 206 206 207 207 == Test Plan ==