MapServer vs. Deegree
Paul Ramsey
pramsey at REFRACTIONS.NET
Fri Aug 12 12:06:23 PDT 2005
Craig Miller wrote:
> CGI has also been shown to not scale well for a couple of reasons. It
> creates a new process for each request, and it doesn't re-use memory
> allocations. In the case of MapServer these concerns are largely moot
> because they aren't significant relative to the time and resources it takes
> to load data and render a map. Pooling of PostGIS connections, etc would be
> a performance improvement however.
FYI: You can pool PostGIS (and more importantly Oracle and SDE)
connections by moving to FastCGI with Mapserver. For PostGIS, the
connection overhead is about 0.15s, and connections are pooled within
the process, so each CGI invocation only creates one connection. For
Oracle and SDE the connection overhead can get up towards 1s depeending
on authentication regimes, so connection pooling is basically a
requirement for anything except demonstration/test services.
Paul
More information about the MapServer-users
mailing list