Mercurial > dive4elements > river
annotate flys-artifacts/doc/conf/artifacts/manualpoints.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 | 8650c0700bfb |
children | a2bdc0f524e8 |
rev | line source |
---|---|
2172
3ecc76ef25a9
New, basic infrastructure for user-provided data ('manual points').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
3ecc76ef25a9
New, basic infrastructure for user-provided data ('manual points').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
2 <artifact name="manualpoints"> |
3ecc76ef25a9
New, basic infrastructure for user-provided data ('manual points').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
3 <states> |
3ecc76ef25a9
New, basic infrastructure for user-provided data ('manual points').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
4 <state id="state.manualpoints.static" |
3ecc76ef25a9
New, basic infrastructure for user-provided data ('manual points').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
5 description="state.manualpoints.static" |
3ecc76ef25a9
New, basic infrastructure for user-provided data ('manual points').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
6 state="de.intevation.flys.artifacts.states.ManualPointsSingleState"> |
3ecc76ef25a9
New, basic infrastructure for user-provided data ('manual points').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
7 <outputmodes> |
3ecc76ef25a9
New, basic infrastructure for user-provided data ('manual points').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
8 <outputmode name="longitudinal_section" description="output.longitudinal_section" mime-type="image/png" type="chart"> |
3ecc76ef25a9
New, basic infrastructure for user-provided data ('manual points').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
9 <facets> |
2206
e2124ca11adb
Add manual point handling for many different chart types.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2172
diff
changeset
|
10 <facet name="longitudinal_section.manualpoints" description="Points provided by user." /> |
e2124ca11adb
Add manual point handling for many different chart types.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2172
diff
changeset
|
11 <facet name="discharge_longitudinal_section.manualpoints" description="Points provided by user." /> |
e2124ca11adb
Add manual point handling for many different chart types.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2172
diff
changeset
|
12 <facet name="discharge_curve.manualpoints" description="Points provided by user." /> |
e2124ca11adb
Add manual point handling for many different chart types.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2172
diff
changeset
|
13 <facet name="w_differences.manualpoints" description="Points provided by user." /> |
e2124ca11adb
Add manual point handling for many different chart types.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2172
diff
changeset
|
14 <facet name="duration_curve.manualpoints" description="Points provided by user." /> |
e2124ca11adb
Add manual point handling for many different chart types.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2172
diff
changeset
|
15 <facet name="computed_discharge_curve.manualpoints" description="Points provided by user." /> |
2292
206353680254
Configuration for manualpoints for cross sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2206
diff
changeset
|
16 <facet name="cross_section.manualpoints" description="Points provided by user." /> |
2299
094b4abde10e
fix flys/issue474 (manual points in reference curves).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2292
diff
changeset
|
17 <facet name="reference_curve.manualpoints" description="User-provided points *yawn*"/> |
094b4abde10e
fix flys/issue474 (manual points in reference curves).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2292
diff
changeset
|
18 <facet name="reference_curve_normalized.manualpoints" description="points"/> |
2633
894186b4c1d0
Issue 494.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2299
diff
changeset
|
19 <facet name="historical_discharge.manualpoints" description="Points provided by user." /> |
5410
8650c0700bfb
Added historical_discharge_wq.manualpoints facet to manualpoints compat list.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4588
diff
changeset
|
20 <facet name="historical_discharge_wq.manualpoints" description="Points provided by user." /> |
3196
b8a84ce860b9
Added compatibility and theme for upcoming manual line facet.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2633
diff
changeset
|
21 <facet name="cross_section.manualline" description="Lines provided by user." /> |
3916
ce1f62dbb69f
Re-enable manual point facets for some fix* charts.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3883
diff
changeset
|
22 <facet name="fix_wq_curve.manualpoints" description="Points provided by user." /> |
ce1f62dbb69f
Re-enable manual point facets for some fix* charts.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3883
diff
changeset
|
23 <facet name="fix_deltawt_curve.manualpoints" description="Points provided by user." /> |
ce1f62dbb69f
Re-enable manual point facets for some fix* charts.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3883
diff
changeset
|
24 <facet name="fix_longitudinal_section_curve.manualpoints" description="Points provided by user." /> |
ce1f62dbb69f
Re-enable manual point facets for some fix* charts.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3883
diff
changeset
|
25 <facet name="fix_derivate_curve.manualpoints" description="Points provided by user." /> |
4415
06b6667513db
manualpoints.xml: Add facet for the extrene_wq_curve out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3917
diff
changeset
|
26 <facet name="extreme_wq_curve.manualpoints" description="Points provided by user." /> |
4575
585374987c5c
Fix flys/issue989: manual points in bedheight_middle outs.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4415
diff
changeset
|
27 <facet name="bedheight_middle.manualpoints" description="Points provided by user." /> |
4579
ef93ef4ff6b1
Enable manual points in sedimentload ls.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4575
diff
changeset
|
28 <facet name="sedimentload_ls.manualpoints"/> |
4581
f0424ca0f8a5
Allow manual points in flow_velocity diagrams.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4579
diff
changeset
|
29 <facet name="flow_velocity.manualpoints"/> |
4579
ef93ef4ff6b1
Enable manual points in sedimentload ls.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4575
diff
changeset
|
30 <facet name="bedheight_difference.manualpoints" /> |
4587
c2ec7f5ac422
Enable manual points for s/q diagrams.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4581
diff
changeset
|
31 <facet name="sq_relation_a.manualpoints" /> |
c2ec7f5ac422
Enable manual points for s/q diagrams.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4581
diff
changeset
|
32 <facet name="sq_relation_b.manualpoints" /> |
c2ec7f5ac422
Enable manual points for s/q diagrams.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4581
diff
changeset
|
33 <facet name="sq_relation_c.manualpoints" /> |
c2ec7f5ac422
Enable manual points for s/q diagrams.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4581
diff
changeset
|
34 <facet name="sq_relation_d.manualpoints" /> |
c2ec7f5ac422
Enable manual points for s/q diagrams.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4581
diff
changeset
|
35 <facet name="sq_relation_e.manualpoints" /> |
4588
1243531f83ac
Allow manual points in bedheight_longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4587
diff
changeset
|
36 <facet name="bed_longitudinal_section.manualpoints" /> |
4587
c2ec7f5ac422
Enable manual points for s/q diagrams.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4581
diff
changeset
|
37 <facet name="sq_relation_f.manualpoints" /> |
2172
3ecc76ef25a9
New, basic infrastructure for user-provided data ('manual points').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
38 </facets> |
3ecc76ef25a9
New, basic infrastructure for user-provided data ('manual points').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
39 </outputmode> |
3ecc76ef25a9
New, basic infrastructure for user-provided data ('manual points').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
40 </outputmodes> |
3ecc76ef25a9
New, basic infrastructure for user-provided data ('manual points').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
41 </state> |
3ecc76ef25a9
New, basic infrastructure for user-provided data ('manual points').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
42 </states> |
3ecc76ef25a9
New, basic infrastructure for user-provided data ('manual points').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
43 </artifact> |