[Freegis-list] Web WMS-client: 2-tier vs 3-tier architecture
roland at gisplan.com.br
Thu Nov 25 21:03:39 CET 2004
sorry if the following has already been discussed in this list, but I
just wanted to reword the whole problem in a clear manner in the hope of
obtaining additional input. I want to know which are the specific
advantages and disadvantages of the 2-tier vs the 3-tier architecture,
We are considering one of the several available Web WMS clients
available. I define a Web WMS client as a program that runs in a
Since you need a Web server to serve the WMS client from the following
entities will be involved in all cases:
1) The Web server(this is from where you download the WMS client to your
2) The WMS server.
3) The WMS client(which will be downloaded from the web server and run
in your browser)
2-tier: After the WMS client has been downloaded to the browser it
doesn't interact with the Web server anymore. From then on all the
interaction will go on between the WMS client and the WMS-server only.
-Static client, won't be updated after initial download.
-Few processing on the web-server(only serves intial download). Good if
many simultaneous users since it relieves the server.
-genuine WMS CLIENT
3-tier: After the WMS client has been downloaded to the browser, it
sends all it's requests to the Web-server, which will forward them to
the WMS server. The WMS server will send the response back to the web
server. The web server can then process the data and send the final
response back to the WMS client. In this case the WMS client can also be
altered after each request to the web server.
-More processing on the web-server(if lots of users danger of
overloading the server)
-Client not static, can be altered during the process.
-spurious WMS client(doesn't interact with a WMS server directly)
Any additonal thoughts on the characteristics/advantages/disadvantages
of each architecture?
More information about the Freegis-list