Mercurial > dive4elements > river
annotate flys-artifacts/doc/conf/themes/second/sq-relation.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 | 1c1effe530bc |
children |
rev | line source |
---|---|
4682
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
2 <!--themegroup name="default"--> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
3 <theme name="SQMeasurements"> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
4 <inherits> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
5 <inherit from="Points" /> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
6 </inherits> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
7 <fields> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
8 <field name="pointcolor" type="Color" default="0, 153, 255" /> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
9 </fields> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
10 </theme> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
11 |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
12 <theme name="SQOutliers"> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
13 <inherits> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
14 <inherit from="Points" /> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
15 </inherits> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
16 <fields> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
17 <field name="pointcolor" type="Color" default="204, 0, 0" /> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
18 </fields> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
19 </theme> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
20 |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
21 <theme name="SQCurve"> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
22 <inherits> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
23 <inherit from="Lines" /> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
24 <inherit from="Points" /> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
25 <inherit from="Label" /> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
26 </inherits> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
27 <fields> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
28 <field name="showpoints" type="boolean" display="Punkte anzeigen" |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
29 default="false" /> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
30 <field name="showpointlabel" type="boolean" |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
31 display="Punktbeschriftung anzeigen" default="false" hints="hidden" /> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
32 <field name="linecolor" type="Color" default="0, 0, 0" /> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
33 </fields> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
34 </theme> |
1c1effe530bc
Added second theme config files.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
35 <!--/themegroup--> |