[mapguide-users] Map Tiled Perfomance

Joel Carranza jec at gatekeeper.com
Mon Feb 12 14:59:24 EST 2007


Trevor,

I think I understand most of these parameters, but can you provide a 
little more insight into the DataCacheSize parameter?

Comments from serverconfig.ini
# DataCacheSize                    Max # of features to fetch
#                                       0 < Value <= 2147483647

I didn't realize that you were caching features at all. How did you 
choose the value of"( >= number of distinct feature sources you are 
serving)"  for this variable?

--Joel

Trevor Wekel wrote:
> Hi all,
>
> I'm not sure what version of MapGuide everyone is using but the
> following performance tweaks do help in the trunk code base and may help
> with the officially released streams:
>
> - Turn on data connection pooling and caching for all data sources
> (including SDF and SHP)
> In serverconfig.ini:
> [FeatureServiceProperties]
> CacheSize = 100 (3 x the number of layers you are serving should be
> sufficient)
> DataCacheSize = 100 ( >= number of distinct feature sources you are
> serving)
> DataConnectionPoolEnabled = 1 (turn it on)
> DataConnectionPoolExcludedProviders = none  (turn connection pooling on
> for all feature sources)
> DataConnectionPoolSize = 100 ( >= number of feature sources you are
> serving)
>
> When you turn connection pooling on for file based data sources, the
> files remain open so you may not be able to remove or overwrite them.
> This will affect APIs like ApplyResourcePackage.
>   
> In trunk, a new API has been added to MgTileService which will make
> cache generation scripts easier to write.  Take a look at RFC 11.
> http://wiki.osgeo.org/index.php/MapGuide_RFC_11_-_Stateless_Http_GETTILE
> IMAGE_request
>
> Thanks,
> Trevor
>
> -----Original Message-----
> From: Kori Maleski [mailto:kmale at telus.net] 
> Sent: Thursday, February 08, 2007 8:46 PM
> To: 'MapGuide Users Mail List'
> Subject: RE: [mapguide-users] Map Tiled Perfomance
>
> I resemble that remark. :-)
>
>  
>
> The only way to improve performance without auto-generation is to
> manually pan around for each zoom threshold to generate the cache.
>
>  
>
>  
>
> We will be releasing a utility to do the auto-generation in the next
> month or so.  Still tweaking...
>
>  
>
>  
>
>  
>
> Kori Maleski
>
>  
>
>  
>
>  
>
>  
>
>   _____  
>
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jason Birch
> Sent: February 8, 2007 6:57 PM
> To: MapGuide Users Mail List
> Subject: RE: [mapguide-users] Map Tiled Perfomance
>
>  
>
> You have 37 layers each on its own base layer in the same map?
>
>  
>
> Or you have a single base layer with 37 layers in it?
>
>  
>
> The latter is immeasurably preferred.
>
>  
>
> If they are already all in a single base layer, you may want to look at
> auto-generating the tiles.
>
>  
>
> Certain folks that have already done this internally would be well
> looked upon if they released their source :)
>
>  
>
> Jason
>
>  
>
>   _____  
>
> From: Kencana
> Subject: [mapguide-users] Map Tiled Perfomance
>
> currently i have 37 layers in the base layers. and the performance of
> the first map tiled loading will take arround 30 seconds. any idea on
> how to make it faster in the first map loading?
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>
>   



More information about the mapguide-users mailing list