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/11/09 14:39: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=340924&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-340924 ]

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

                Author: ASF GitHub Bot
            Created on: 09/Nov/19 14:38
            Start Date: 09/Nov/19 14:38
    Worklog Time Spent: 10m 
      Work Description: Randgalt commented on issue #328: CURATOR-547 change JAX-RS reader/writer to reuse Jackson ObjectMapper
URL: https://github.com/apache/curator/pull/328#issuecomment-552106226
 
 
   merged
 
----------------------------------------------------------------
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: 340924)
    Time Spent: 0.5h  (was: 20m)

> 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
>          Components: Recipes
>    Affects Versions: 4.2.0
>            Reporter: Tatu Saloranta
>            Assignee: Jordan Zimmerman
>            Priority: Minor
>             Fix For: 4.3.0
>
>          Time Spent: 0.5h
>  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)