[mapguide-trac] #1998: Fdo connection manager enhancement

MapGuide Open Source trac_mapguide at osgeo.org
Mon May 21 02:56:45 EDT 2012


#1998: Fdo connection manager enhancement
---------------------------+------------------------------------------------
   Reporter:  zhanga       |       Owner:       
       Type:  enhancement  |      Status:  new  
   Priority:  medium       |   Milestone:  2.4  
  Component:  General      |     Version:  2.2.0
   Severity:  minor        |    Keywords:       
External_id:               |  
---------------------------+------------------------------------------------

Comment(by zhanga):

 I made some changes on FdoConnectionManager to improve the performance of
 PerCommandThreaded/MultiThreaded provider. Take FDO TB provider as
 example, it is a PerCommandThreaded provider. Suppose there are 2
 operation requests at the same time. Currently, the 2 requests will share
 one connection. In our tests, it is about 30% slower than 2 requests 2
 connections.
 This submission changes the behavior to open a new connection if the
 connection pool of this provider is not full. And reuse connection only if
 connection pool is full.
 This change has no impact on providers which thread model is not
 PerCommandThreaded/MultiThreaded.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1998#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list