[infinispan-issues] [JBoss JIRA] (ISPN-11231) Transcoder lookup is inefficient

Ryan Emerson (Jira) issues at jboss.org
Wed Feb 5 07:24:08 EST 2020


     [ https://issues.redhat.com/browse/ISPN-11231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Emerson resolved ISPN-11231.
---------------------------------
    Fix Version/s: 10.1.2.Final
       Resolution: Done


> Transcoder lookup is inefficient
> --------------------------------
>
>                 Key: ISPN-11231
>                 URL: https://issues.redhat.com/browse/ISPN-11231
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 9.4.17.Final, 10.1.1.Final
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>            Priority: Major
>             Fix For: 9.4.18.Final, 10.1.2.Final, 11.0.0.Alpha1
>
>
> {{EncoderRegistryImpl}} stores transcoders in a set, without any lookup optimization because it assumes the number of transcoders is small.
> However, {{InternalCacheFactory.bootstrap()}} registers a "different" {{TranscoderMarshallerAdapter}} for each cache, even though they all delegate to the same global marshaller.
> I believe the global marshaller transcoder adapter should be registered only once in {{EncoderRegistryFactory}}, and ideally we should have a way of looking up transcoders by media types.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list