[Mapserver-users] optimize mapserver

Ed McNierney ed at topozone.com
Wed May 14 15:21:31 EDT 2003


This is a multi-part message in MIME format.

------_=_NextPart_001_01C31A4E.0658D2C5
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Jose -
=20
I think you are probably not optimizing your data organization enough.  =
Can you describe your data in some detail for us?  Are you using raster =
or vector data?  Are you "zoomed out" and trying to display a large =
amount of data on your small map, or are you displaying a small area?
=20
    - Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242=20

-----Original Message-----
From: Jose Manuel Sanchez [mailto:jose.sanchez at batmap.com]
Sent: Tuesday, May 13, 2003 11:47 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] optimize mapserver



Hi list,
=20
I am a new user of Mapserv, and I'm trying to optimize the time of =
response of Mapserver CGI (from a user requests a map and the Apache =
renders the information to PNG and the user has the map). The maps are =
so small (176 x 176 pixels), and I think some things that could make the =
results were better. I probed the next things:
=20
        -- create with shptree indexes in the SHP files --> a litle =
better results =20
        -- works with PostgreSQL/Postgis --> more slow
        -- upload the SHP files and the cgi mapserv to ramdisks --> a =
litle better results
=20
The next things that I think that I would make are:
=20
         -- transforms CGI mapserv to a FAST-CGI=20
         -- optimize the HTTPD.CONF of the Apache Server
=20
What dou you think??
=20
Thanks a lot


------_=_NextPart_001_01C31A4E.0658D2C5
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D078242119-14052003><FONT face=3DArial color=3D#0000ff =
size=3D2>Jose=20
-</FONT></SPAN></DIV>
<DIV><SPAN class=3D078242119-14052003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D078242119-14052003><FONT face=3DArial color=3D#0000ff =
size=3D2>I=20
think you are probably not optimizing your data organization =
enough.&nbsp; Can=20
you describe your data in some detail for us?&nbsp; Are you using raster =
or=20
vector data?&nbsp; Are you "zoomed out" and trying to display a large =
amount of=20
data on your small map, or are you displaying a small =
area?</FONT></SPAN></DIV>
<DIV><SPAN class=3D078242119-14052003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D078242119-14052003>&nbsp;&nbsp;&nbsp; <FONT =
face=3DArial=20
color=3D#0000ff size=3D2>- Ed</FONT></SPAN></DIV>
<DIV><SPAN class=3D078242119-14052003>
<P><FONT size=3D2>Ed McNierney<BR>President and Chief =
Mapmaker<BR>TopoZone.com /=20
Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North =
Chelmsford,=20
MA&nbsp; 01863<BR>ed at topozone.com<BR>(978) 251-4242 =
</FONT></P></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Jose Manuel =
Sanchez=20
  [mailto:jose.sanchez at batmap.com]<BR><B>Sent:</B> Tuesday, May 13, 2003 =
11:47=20
  AM<BR><B>To:</B> mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B>=20
  [Mapserver-users] optimize mapserver<BR><BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>
  <DIV><FONT face=3DArial size=3D2>Hi list,</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I am a new user of Mapserv, and I'm =
trying to=20
  optimize the&nbsp;time of response of Mapserver&nbsp;CGI (from a user =
requests=20
  a map and the Apache renders the information to PNG and the user has =
the map).=20
  The maps are so small (176 x 176 pixels), and&nbsp;I think some things =
that=20
  could make the results were better. I probed the next =
things:</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
-- create=20
  with shptree indexes in the SHP files --&gt; a litle better =
results&nbsp;=20
  </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
-- works=20
  with PostgreSQL/Postgis --&gt; more slow</FONT></DIV>
  <DIV><FONT face=3DArial=20
  size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-- upload the =
SHP files=20
  and the cgi mapserv to ramdisks --&gt; a litle better =
results</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>The next things that I think that I =
would make=20
  are:</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial=20
  =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--&nbsp;tr=
ansforms=20
  CGI&nbsp;mapserv to a FAST-CGI </FONT></DIV>
  <DIV><FONT face=3DArial=20
  size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-- =
optimize the=20
  HTTPD.CONF of the Apache Server</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>What dou you think??</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Thanks a=20
lot</FONT></DIV></FONT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C31A4E.0658D2C5--



More information about the mapserver-users mailing list