[infinispan-issues] [JBoss JIRA] (ISPN-11231) Transcoder lookup is inefficient
Dan Berindei (Jira)
issues at jboss.org
Tue Jan 28 06:11:29 EST 2020
Dan Berindei created ISPN-11231:
-----------------------------------
Summary: Transcoder lookup is inefficient
Key: ISPN-11231
URL: https://issues.redhat.com/browse/ISPN-11231
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 10.1.1.Final, 9.4.17.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