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

Transparently hold serialized representations of keys and values

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Core
    • None

    Description

      Serialization/deserialization might become very expensive when working with cached large java objects that are created and used on many different nodes.

      At the moment, the setting storeAsBinary() allows you to "die" either one:

      • serialize/deserialize when the cache is accessed
      • serialize/deserialize when L1 is filled or invalidated, object fetched from other node, object is replicated on put

      It might be a good solution to add a third mode:

      • At a put() operation, the Java object is put into the cache
      • When the serialized representation is required first, it is created from the Java object (or during the put() operation)
      • The serialized representation is reused every time when needed.

      Means: cache the serialized representation of keys and values.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              snazy Robert Stupp (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: