Project

General

Profile

task #4009

task #6992: Refactor and modernize web services

consider using jackson as json library

Added by Andreas Kohlbecker about 5 years ago. Updated over 1 year ago.

Status:
New
Priority:
New
Category:
cdmlib-remote
Target version:
Start date:
02/09/2015
Due date:
% Done:

0%

Severity:
critical
Tags:

Description

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:

  1. 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

  • Average: 0,854s

  1. 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'
  • 500kb /response

  • Max time: 3,689s

  • Min time: 1,133s

  • Average: 1,325s

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


Related tickets:

  • #3440

Subtasks

feature request #4644: json lib incorrectly serializes values containig the characters [, ], {, }NewAndreas Kohlbecker


Related issues

Related to Edit - bug #3480: tagged text with square bracket confuses json New 05/15/2013

History

#1 Updated by Andreas Müller almost 4 years ago

  • Target version deleted ()

#2 Updated by Andreas Müller almost 4 years ago

  • Target version set to cdmlib-remote cleanup

#3 Updated by Andreas Kohlbecker almost 4 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

#4 Updated by Andreas Kohlbecker almost 4 years ago

  • Target version deleted (cdmlib - Next Major Release)

#5 Updated by Andreas Müller almost 4 years ago

  • Target version set to Release 3.8
  • Priority changed from Priority14 to Highest

#6 Updated by Andreas Müller almost 4 years ago

  • Severity changed from major to critical

#7 Updated by Andreas Kohlbecker over 3 years ago

  • Target version changed from Release 3.8 to cdmlib-remote cleanup

#8 Updated by Andreas Kohlbecker over 1 year ago

  • Description updated (diff)
  • Private changed from Yes to No

#9 Updated by Andreas Kohlbecker over 1 year ago

  • Related to bug #3480: tagged text with square bracket confuses json added

#10 Updated by Andreas Kohlbecker over 1 year ago

  • Parent task set to #6992

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)