Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-328

JSONMarshaller perfomance degration under load

    XMLWordPrintable

Details

    • Requirement
    • Resolution: Won't Do
    • Major
    • None
    • 6.x.x
    • Kie-Server
    • None
    • 0
    • 0% 0%

    Description

      With a higher number of concurrent requests, we see performance degrading significantly. Thread dumps show many threads blocked here:

      "http-127.0.0.1:8080-499" #745 daemon prio=5 os_prio=0 tid=0x00007f39909b1000 nid=0x63e6 waiting for monitor entry [0x00007f38bf2ae000]
         java.lang.Thread.State: BLOCKED (on object monitor)
              at org.codehaus.jackson.map.jsontype.impl.TypeDeserializerBase._findDeserializer(TypeDeserializerBase.java:110)
              - waiting to lock <0x00000000c06c1630> (a java.util.HashMap)
              at org.kie.server.api.marshalling.json.JSONMarshaller$3$1.deserializeTypedFromObject(JSONMarshaller.java:225)
              at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeWithType(BeanDeserializer.java:664)
              at org.codehaus.jackson.map.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:219)
              at org.codehaus.jackson.map.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:194)
              at org.codehaus.jackson.map.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:30)
              at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299)
              at org.codehaus.jackson.map.deser.SettableBeanProperty$MethodProperty.deserializeAndSet(SettableBeanProperty.java:414)
              at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:697)
              at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:600)
              at org.kie.server.api.marshalling.json.JSONMarshaller$3$1.deserializeTypedFromObject(JSONMarshaller.java:226)
      

      This did not happen in BxMS 6.4.0 and the following code change is related:
      https://issues.jboss.org/browse/RHBPMS-4547

      Attachments

        Issue Links

          Activity

            People

              swiderski.maciej Maciej Swiderski (Inactive)
              rhn-support-mputz Martin Weiler (Inactive)
              Tibor Zimányi Tibor Zimányi
              Tibor Zimányi Tibor Zimányi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: