Mercurial > dive4elements > river
comparison flys-artifacts/ChangeLog @ 644:02c0cce0e469
Introduce a cache for the distance-info service
flys-artifacts/trunk@2028 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 30 May 2011 11:34:06 +0000 |
parents | a9bde508824a |
children | 433f67a076aa |
comparison
equal
deleted
inserted
replaced
643:a9bde508824a | 644:02c0cce0e469 |
---|---|
1 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2 | |
3 * doc/conf/cache.xml: Introduced cache to store the distance info per river. | |
4 This boosts performance in following ab setup from 3.61 to 39.91 requests/secs. | |
5 | |
6 $ ab -c 20 -n 1000 -p distances.xml http://127.0.0.1:8181/service/distanceinfo | |
7 | |
8 $ cat distances.xml | |
9 <?xml version="1.0" encoding="UTF-8"?> | |
10 <art:river xmlns:art="http://www.intevation.de/2009/artifacts">Elbe</art:river> | |
11 | |
12 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: Added | |
13 an iterator result to avoid construction expensive interim lists. | |
14 | |
15 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: Use | |
16 the cache if configured. | |
17 | |
1 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> | 18 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
2 | 19 |
3 flys/issue82 | 20 flys/issue82 |
4 | 21 |
5 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | 22 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: |