Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4134

Use Kudu AUTO_FLUSH_BACKGROUND mode

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Kudu_Impala
    • Impala 2.8.0
    • Backend

    Description

      Kudu supports writing with AUTO_FLUSH_BACKGROUND mode as of Kudu 1.0 for flushing buffered write operations:

      See https://github.com/apache/kudu/blob/branch-1.0.x/src/kudu/client/client.h#L1157

      This may improve performance in some cases, so we should test this and consider switching.

      From Alexey Serbin:

      I did my testing with simple 'push-as-mush-as-client-can-do' scenarios, and results look good (will share a link to the performance summary soon): the new code performs comparable with the old one if both run in MANUAL_FLUSH mode. And of course, a session in AUTO_FLUSH_BACKGROUND mode perform much better that session in AUTO_FLUSH_SYNC mode. Also, session in AUTO_FLUSH_BACKGROUND mode performs better than session in MANUAL_FLUSH mode if the buffer of the former allows to accommodate more operations than the latter flushes time to time.

      Attachments

        Activity

          People

            mjacobs Matthew Jacobs
            mjacobs Matthew Jacobs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: