[Mapserver-users] connection pooling

Jan Hartmann jhart@frw.uva.nl
Tue, 16 Mar 2004 17:17:04 +0100


Stender, Amy ERDC-CRREL-NH wrote:

> Could someone please explain connection pooling to me? I have a mapfile 
> with *many* OGR (s57) connections and the map takes a really long time 
> to load. I want it to be snappy. Any ideas?
>  

I'm afraid connection pooling takes only place for databases, and AFAIK 
is implemented only for SDE databases at this moment. Moreover, it only 
pools the original connection to the database, not the actual generation 
of the maps: these are still generated sequentially. I don't think the 
OGR database extensions pool their original connections, but even so 
generating many layers will always take lots of time. If you *really* 
need to load many layers from a single MapServer call, the only solution 
is to use multiple servers (e.g. via WMS).

Jan
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users