Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-11231

Transcoder lookup is inefficient

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei (Inactive)
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: