I have two Win 2008 R2 Servers currently dedicated to running one instance of Geoserver each. We are looking at setting up geowebcache. Win Servers have 2Gb Ram and they do nothing but run Geoserver at the moment. For practical purposes, I have 1Mb, maybe 1.2, to allocate to TomCat.
First, does anyone have any experience on how much Ram can be allocated to Geoserver/geoWebcache withoput impacting Windows Performance?
Second, which way should I set it up?
- Option 1: One server running GeowebCahe and one server running Geoserver.
- Option 2: Geoserver and geowebcache on each server.
Third, the Geowebcache documentation recommends allocating at least 256 Mb of heap memory. It would be reasonable to assume the more memory the better. If Option 2 is chosen, how should I apportion the available memory between Geoserver and GeoWebCache?
Fourth, am I better off running Geoserver in TomCat or in the environment it is distributed in?
Last, are there any pros and cons on performance for a JDK vs a JRE environment?