view flys-client/src/main/java/de/intevation/flys/client/FLYS.gwt.xml @ 5779:ebec12def170

Datacage: Add a pool of builders to make it multi threadable. XML DOM is not thread safe. Therefore the old implementation only allowed one thread to use the builder at a time. As the complexity of the configuration has increased over time this has become a bottleneck of the whole application because it took quiet some time to build a result. Furthermore the builder code path is visited very frequent. So many concurrent requests were piled up resulting in long waits for the users. To mitigate this problem a round robin pool of builders is used now. Each of the pooled builders has an independent copy of the XML template and can be run in parallel. The number of builders is determined by the system property 'flys.datacage.pool.size'. It defaults to 4.
author Sascha L. Teichmann <teichmann@intevation.de>
date Sun, 21 Apr 2013 12:48:09 +0200
parents f8c03d3af300
children
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='flys'>
  <!-- Inherit the core Web Toolkit stuff.                        -->
  <inherits name='com.google.gwt.user.User'/>

  <!-- Inherit the i18n google stuff.                             -->
  <inherits name="com.google.gwt.i18n.I18N"/>

  <!-- Inherit the XML stuff of GWT                               -->
  <inherits name="com.google.gwt.xml.XML"/>

  <!-- Inherit the Resource module of GWT                         -->
  <inherits name="com.google.gwt.resources.Resources"/>

  <inherits name="de.intevation.artifacts.common.Common"/>

  <!-- Inherit the smartgwt Enterprise Theme.                -->
  <inherits name="com.smartgwt.SmartGwtNoTheme" />
  <!--inherits name="com.smartclient.theme.enterprise.Enterprise"/>
  <inherits name="com.smartclient.theme.enterprise.EnterpriseResources"/-->

  <!-- Works again with smart-gwt2.5 patch from maven repository-->
  <inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlue"/>
  <inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlueResources"/>

  <!-- Works:
  <inherits name="com.smartclient.theme.graphite.Graphite"/>
  <inherits name="com.smartclient.theme.graphite.GraphiteResources"/>
  -->

  <!-- Inherit the gwtopenlayers stuff -->
  <inherits name="org.gwtopenmaps.openlayers.OpenLayers"/>

  <!-- Other module inherits                                      -->

  <!-- Specify the app entry point class.                         -->
  <entry-point class='de.intevation.flys.client.client.FLYS'/>

  <!-- Specify the paths for translatable code                    -->
  <source path='client'/>
  <source path='shared'/>

  <extend-property name="locale" values="de,en"/>
</module>

http://dive4elements.wald.intevation.org