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

Make SingleFileStore implement NonBlockingStore

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 13.0.0.CR1
    • 11.0.11.Final, 12.1.4.Final
    • Core, Loaders and Stores
    • None

      Before the introduction of NonBlockingStore, the overhead of passivation with an empty SingleFileStore was minimal, as all passivation requires is some lookups in an empty map. The introduction of NonBlockingStoreAdapter added some overhead and now operations need to switch to a blocking thread.

      Implementing NonBlockingStore directly will allow keeping the map lookups on the non-blocking thread in some cases and will minimize overhead.

      A NonBlockingStore should also handle segmentation on its own, and SingleFileStore could keep all the entries in one file as long as the in-memory data is split by segment.

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

              Created:
              Updated:
              Resolved: