Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1189

Improve Large Property Support in Disk Connector

    XMLWordPrintable

Details

    Description

      As Randall has noted, it might be very beneficial if the disk connector provided a way for large property values to be stored in a separate area. This would keep the node size on disk smaller, allowing for quicker reads and writes of the node itself and allow large values to be reused between nodes when possible. In this regard, the feature would be very similar to the JpaSource's large value support.

      However, since these large values would be stored on disk, they could also leverage the existing FileSystemBinary optimization that lazily loads binary values that are stored in a file. This could greatly reduce the load time for nodes with very large binary properties and, in some circumstances, reduce the memory consumption of the connector as a whole as the entire binary property will no longer need to be loaded into memory when the node is retrieved. Instead, it can be read in as a FileInputStream with only chunks of the value in memory at any particular time.

      Attachments

        Activity

          People

            bcarothers_jira Brian Carothers (Inactive)
            bcarothers_jira Brian Carothers (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: