Application and data server
Julien-Samuel Lacroix
jlacroix at DMSOLUTIONS.CA
Tue Aug 30 06:31:40 PDT 2005
Hi Artur!
This is a tricky one. It really depends on the trafic you have on your
website. For a moderate trafic website you only need a basic
installation. One server with MapServer + PostGIS + Application.
However if you get too much traffic for a single server, you may want to
separate the Application and MapServer. MapServer is usually what takes
the most ressource of a server. This is more true when it is poorly
configured. So before doing that, make sure you have tuned your data,
mapfile and server. The first things you should check are removing the
PROJECTION blocks and the filters (For any other advice ask the list).
Other than that, there's no real problem to put the database and
MapServer on the same machine I think.
In the case you decide to separate PostGIS and MapServer on 2 different
machines, you don't need to use WFS or WMS. You can connect to PostGIS
like usual I think.
Best regards,
Julien
PS: There's information in the wiki about security issues.
On 08/30/2005 06:04 AM, Artur Skalski wrote:
> Hi All!
>
> Could You give me some advice?
>
> I need to set up a commercial map site based on the mapserver, I know a bit
> mapserver but I'd like to ask You about efficiency and security issues.
>
> I'm planning to base this service on two servers: first - application
> server, with www server and mapserver, and second database server with
> vector data in a database like PostgreSQL, so the first question is: Is this
> approache correct?, maybe it's not needed to separate the application server
> from database server, and what about the efficiency and data security in
> both cases?
>
> And another thing: if I choose to separate application and www server from
> database server is it nessesary to deal with WMS and WFS Mapserver or maybe
> regular Mapserver can comunicate with a database placed on database server?
>
> Many Thanks for Your advice!
>
> Best Regards
>
> Artur
>
--
------------------------------------------------------------
Julien-Samuel Lacroix jlacroix at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list