Qpid
  1. Qpid
  2. QPID-3736

[Java Broker] Update BDB store to v5 and utilise explicit log flush for significant performance improvement

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.15
    • Component/s: Java Broker
    • Labels:
      None

      Description

      BDB v5 adds a new method to Environment to allow for the flushing of logs to disk (synchronously if desired) without having to run a full checkpoint. This seems to directly address our use case of BDB.

      Upgrading BDB and making use of this feature shows significant performance benefits, especially where there are a low number of concurrent connections.

      For a single producer/consumer transactional case, I have observed a performance increase of 56%; for 2 producers/consumers 50%...

      1. QPID-3736.diff
        3 kB
        Rob Godfrey

        Activity

        Hide
        Rob Godfrey added a comment -

        Attached a diff file of the necessary changes

        Show
        Rob Godfrey added a comment - Attached a diff file of the necessary changes
        Hide
        Robbie Gemmell added a comment -

        Change looks good to me.

        Show
        Robbie Gemmell added a comment - Change looks good to me.

          People

          • Assignee:
            Rob Godfrey
            Reporter:
            Rob Godfrey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development