Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4379

Batch mode for SyncMBeanImpl

    XMLWordPrintableJSON

Details

    Description

      the SyncMBeanImpl currently calls Session.save() for every single sync, which IMO make the synchronization methods extra expensive.

      IMHO we should consider introducing a batch mode that reduces the number of save calls. the drawback of this was that the complete set of sync-calls withing a given batch would succeed or fail. in case of failure the 'original' sync-result would need to be replaced by one with operation status 'ERR'.

      now that we have the basis for running benchmarks for the SyncMBeanImpl, we should be able to verify if this proposal actually has a positive impact (though benchmark results from OAK-4119 and OAK-4120 seem to indicate that this is the case).

      Attachments

        1. OAK-4379.patch
          51 kB
          Angela Schreiber

        Activity

          People

            angela Angela Schreiber
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: