Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10344

Improve write performance by ignoring sync to hdfs when an asyncer's writes have been synced by other asyncer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.0, 0.99.0
    • None
    • None
    • Reviewed

    Description

      By fixing HBASE-10329, we know it's possible an asyncer's writes could have been synced by other asyncer before it starts to do the sync. We distinguish this case and handle accordingly when writer is null, but only for when writer is null.
      When writer is not null(the much more typical case), we also can check and ignore the sync if asyncer's writes have been synced by other asyncer before doing sync. Since sync is a quite heavy operation(together with the following notifying notifier thread and log roll check) we can have some performance gain by ignoring it for such case.

      Attachments

        1. HBASE-10344-trunk_v0.patch
          2 kB
          Honghua Feng

        Activity

          People

            fenghh Honghua Feng
            fenghh Honghua Feng
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: