[mapguide-trac] #1914: ResourceExists in MaestroAPI takes 1 second to execute with LocalNative-Connection

MapGuide Open Source trac_mapguide at osgeo.org
Fri Jan 13 07:27:55 EST 2012


#1914: ResourceExists in MaestroAPI takes 1 second to execute with LocalNative-
Connection
------------------------+---------------------------------------------------
   Reporter:  gBecker   |       Owner:  jng        
       Type:  defect    |      Status:  new        
   Priority:  high      |   Milestone:  Maestro-4.1
  Component:  Maestro   |     Version:  2.2.0      
   Severity:  critical  |    Keywords:             
External_id:            |  
------------------------+---------------------------------------------------
 When using LocalNative-Connection the methode ResourceExists of the
 ResourceService takes more than 1 second to execute. Sometimes my WebPages
 needs up to 10 seconds to load because of high usage of this methode. With
 the old API the site loads very fast.

 You can reproduce the problem with the SampleWeb of MaestroSDK_4.0.0.
 Create a LocalNative-Connection and wrap tracing around the ResourceExists
 methode in Default.aspx.cs:

 Trace.Write("Begin");
 if (conn.ResourceService.ResourceExists(mdfId))
 {
     Trace.Write("End");

 Gunter

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1914>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list