Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2302

Reduce memory pressure while inheriting client configuration

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.Final, 3.11.0.Final
    • 4.1.1.Final
    • jaxrs
    • None

      With https://issues.jboss.org/browse/RESTEASY-1983, the client configuration is inherited and detached from parent. This is per JAX-RS spec. However, deep copying all the configuration each time a new `Webtarget` is created even when there is no configuration difference between parent and child gets quite costly. In our internal testing, we identified significant memory pressure because of this, which impacts our 99th percentile latency.

      Please see the PR https://github.com/resteasy/Resteasy/pull/2107.

              rhn-support-asoldano Alessio Soldano
              gurselan Anil Gursel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: