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

Provide better write predictability

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • wal
    • None

    Description

      Currently, HBase has one WAL per region server.
      Whenever there is any latency in the write pipeline (due to whatever reasons such as n/w blip, a node in the pipeline having a bad disk, etc), the overall write latency suffers.

      Jonathan Hsieh and I analyzed various approaches to tackle this issue. We also looked at HBASE-5699, which talks about adding concurrent multi WALs. Along with performance numbers, we also focussed on design simplicity, minimum impact on MTTR & Replication, and compatibility with 0.96 and 0.98. Considering all these parameters, we propose a new HLog implementation with WAL Switching functionality.

      Please find attached the design doc for the same. It introduces the WAL Switching feature, and experiments/results of a prototype implementation, showing the benefits of this feature.
      The second goal of this work is to serve as a building block for concurrent multiple WALs feature.

      Please review the doc.

      Attachments

        1. 10278-trunk-v2.1.patch
          71 kB
          Himanshu Vashishtha
        2. 10278-trunk-v2.1.patch
          71 kB
          Himanshu Vashishtha
        3. SwitchWriterFlow.pptx
          77 kB
          Himanshu Vashishtha
        4. 10278-wip-1.1.patch
          53 kB
          Himanshu Vashishtha
        5. Multiwaldesigndoc.pdf
          368 kB
          Himanshu Vashishtha

        Issue Links

          Activity

            People

              Unassigned Unassigned
              v.himanshu Himanshu Vashishtha
              Votes:
              0 Vote for this issue
              Watchers:
              30 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: