You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/10/11 05:26:00 UTC

[jira] [Work logged] (CURATOR-547) Make JAX-RS MessageBodyReader/-Writer impl (JsonServiceInstanceMarshaller) reuse Jackson ObjectMapper

     [ https://issues.apache.org/jira/browse/CURATOR-547?focusedWorklogId=326706&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-326706 ]

ASF GitHub Bot logged work on CURATOR-547:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Oct/19 05:25
            Start Date: 11/Oct/19 05:25
    Worklog Time Spent: 10m 
      Work Description: cowtowncoder commented on pull request #328: CURATOR-547 change JAX-RS reader/writer to reuse Jackson ObjectMapper
URL: https://github.com/apache/curator/pull/328
 
 
   also upgrade Jackson version from 2.9.8 to 2.9.10 (latest 2.9.x patch).
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 326706)
    Remaining Estimate: 0h
            Time Spent: 10m

> Make JAX-RS MessageBodyReader/-Writer impl (JsonServiceInstanceMarshaller) reuse Jackson ObjectMapper
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CURATOR-547
>                 URL: https://issues.apache.org/jira/browse/CURATOR-547
>             Project: Apache Curator
>          Issue Type: Improvement
>            Reporter: Tatu Saloranta
>            Assignee: Jordan Zimmerman
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I noticed that the JAX-RS reader/writer implementation, `JsonServiceInstanceMarshaller` creates `ObjectMapper`s on-the-fly for every read and write. This is pretty inefficient, and it is easy to create and use a static mapper instance instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)