view .hgtags @ 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 88996fd04f55
children ebd09bbf01a4
line wrap: on
line source
2b745b5e731c4837b09ebd31dee308c353e49358 0.1
7ab81ff32111299b127419a343a4cb22179d9ab4 2.3
a9c7f6ec3a5adcbb05b1c16ffaaa72b8b1e21f50 2.3.1
461b8bd696a7f926387fa0c9a17d3a26f0a77bc5 2.4
54365104835ce6a538aba88d180f5cf71880fa0d 2.5
cb7ebcadb21402810d464976e2b21076e0f6d26e 2.6
f97e9b810e58d368ebb5cef08cb187b9ddef979c 2.6.1
f0a67bc0e77724a838a0525d9030d3999df50fc1 2.7
cb376f48dd37995470d347166ceb39514c0f0b22 2.8
e4250c6e1538d65c93906039377ace242d4d24db 2.8.1
c938e568c4a201c02113264913fb1e042ed490bf 2.9
69d19995bc3c78bb33142be79a5989093682153f 2.9.1
d73c43798a99f6839f4a213d5f60c43041914028 pre2.6-2011-11-04
6aeee2250418e85806b6eabafc48bfe625b892eb pre2.6-2011-12-05
ecab7e7804a9166f582e7904a2bb0c8c14eaf94e pre2.6-2012-01-04
8a75cf0841b1e4a361cb547dd02616e7c1015a5b pre2.7-2012-03-16
e1691b74f3aa888fe7b2cf78a4be3678abe6da45 flys-2.9.2
ff74ff82f2d421c7ab1efc404828d1316d19adb7 flys-2.9.3
651b93c10dc5aef887efef5026e87ddd5da67dee flys-2.9.4
651b93c10dc5aef887efef5026e87ddd5da67dee flys-2.9.4
10e277c2fe0f800f170e849c285574af6fe64ceb flys-2.9.4
b51f6bb188d73d3c564381cde4489b48470d98f8 2.9.5
ce6bea03156cd45cbbd7841715d0e1f256ea4d36 2.9.6
0ba0f3e4f4c200398f0b308506f4d91a9e392bc2 2.9.7
88014b9852d041a707365162d8d941cb1a7cef5c 2.9.8
859278918eb14a8687fef60f2b33dcf89fe71f90 2.9.9
859278918eb14a8687fef60f2b33dcf89fe71f90 2.9.9
53be7313310416e1f8c3e0ec414684ca9c6c71df 2.9.9
f459911fdbfbe2b2d23e06faba4e338514dd7b54 2.9.10
f459911fdbfbe2b2d23e06faba4e338514dd7b54 2.9.10
8c65acf01adc7083c5936d0f8acf67374c97140b 2.9.10
42bb6ff78d1b734341732772ab24db2a913311b0 2.9.11
3b86bf214d53da51d85cd8c8ecfeec71aa9da9e4 2.9.12
3b86bf214d53da51d85cd8c8ecfeec71aa9da9e4 2.9.12
0000000000000000000000000000000000000000 2.9.12
0000000000000000000000000000000000000000 2.9.12
88e3473a38467e8b5bb7d99e92c3f1a795515bf5 2.9.12
7fa94b793cbe0133503741e142832c8f2ff1aa4b 2.9.13
a5f5599f6fd5e37975d71b8a323aadfeb8d017e6 2.9.14
437109b3cf49ce83d5bd4d005c71509e966b8cf7 2.9.15
2fa6da26a1421932608ab8c71ef51f260ad77acd 2.9.16
3e8f7b4bdf20f2f96edaab593dfaaefe2add46f5 2.9.17
8128622e4b2893d91a30bdd52f7e426f6098ba0c 2.9.18
c4162d8378a1333f891b584228c9d00b0e367401 2.9.19
280093510e1d726e034244275a6098f873b7bc9a 3.0.0

http://dive4elements.wald.intevation.org