[infinispan-issues] [JBoss JIRA] (ISPN-11234) Transcoder lookup is inefficient
Pedro Zapata Fernandez (Jira)
issues at jboss.org
Tue Jan 28 08:13:19 EST 2020
Pedro Zapata Fernandez created ISPN-11234:
---------------------------------------------
Summary: Transcoder lookup is inefficient
Key: ISPN-11234
URL: https://issues.redhat.com/browse/ISPN-11234
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.4.17.Final, 10.1.1.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 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