task #6992: Refactor and modernize web services
consider using jackson as json library
using jackson instead of json-lib may have an significant impact on the REST service performance:
perfomance of json-lib by comparig two REST service calls:
- generic service:
ab -n 20 'http://127.0.0.1:8080/description/distributionInfoFor/0eb6ca37-3365-4af5-a800-8fc4b8c366fa.json?statusOrderPreference=1&subAreaPreference=1&hideMarkedAreas=70ceb5bc-3413-4b4e-8ef3-de29d06a42a5&part=mapUriParams&part=tree&part=elements'
31kb / response
Max time: 1,991s
Min time: 0.766s
- portal service:
ab -n 20 'http://127.0.0.1:8080/portal/description/distributionInfoFor/0eb6ca37-3365-4af5-a800-8fc4b8c366fa.json?statusOrderPreference=1&subAreaPreference=1&hideMarkedAreas=70ceb5bc-3413-4b4e-8ef3-de29d06a42a5&part=mapUriParams&part=tree&part=elements'
Max time: 3,689s
Min time: 1,133s
It looks like the amount of objects to be serialized is consuming an significant amount of time.
further incidence is given by the following benchmark results:
For further evidence see [#4925#note-7]
additional TODO once this is done perform the measurements taken for #4925
#3 Updated by Andreas Kohlbecker over 3 years ago
- Target version changed from cdmlib-remote cleanup to cdmlib - Next Major Release
- Priority changed from Priority08 to Priority14
- Severity changed from normal to major
increasing severity and priority as this issue has shown to be last big culprit for bad performance in #4925