[Geoserver-devel] Distribuited GeoServer

Hi

I’m trying to develop a system to run GeoServer in a cloud environment (eg Amazon EC2)

My idea was to distribute the various services, such the installation of the WMS service on a server, the WFS service on another server and so on with a dispatcher upstream of them to route the various requests.

I wanted to know if it was possible to divide Geoserver so as to create various applications which can provide individual services, without replicating the entire GeoServer on each sever.

In GeoServer Developer Manual, under “Runnig Maven” is written “When running the command from a single module, it is run only For That module”, but I do not know if this is the right way to do what I want.

Thanks for your attention.
Kind regards.


Federico Cacco

On Fri, Apr 12, 2013 at 11:55 AM, Federico Cacco
<federico.cacco@anonymised.com>wrote:

Hi

I'm trying to develop a system to run GeoServer in a cloud environment (eg
Amazon EC2)

My idea was to distribute the various services, such the installation of
the WMS service on a server, the WFS service on another server and so on
with a dispatcher upstream of them to route the various requests.

I wanted to know if it was possible to divide Geoserver so as to create
various applications which can provide individual services, without
replicating the entire GeoServer on each sever.

In GeoServer Developer Manual, under "Runnig Maven" is written "When
running the command from a single module, it is run only For That module",
but I do not know if this is the right way to do what I want.

In order to do what you want you would have to modify the web/app pom.xml
so that it only has the dependencies towards the services you want.
Mind, for internal reasons, it's not possible at the time of writing to
stand up a WMS without also having the WFS in the classpath, but you can
disable the WFS service in its service configuration panel.

I'm wondering about the reasons for the setup, keeping all the services on
all nodes of the cluster normally results
in a more even load distribution, since at a given time not all services
receive the same amount of load, e.g., if you dedicate 4
nodes to wms and 2 to wfs and 2 to wcs, and your current load is made only
of (or mostly of) wms requests, you're still wasting four nodes
of your cluster for nothing.

Cheers
Andrea

--

GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------