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

impala-shell hs2-http 3x slower than hs2 with high-latency network

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Clients
    • None
    • ghx-label-12

    Description

      Users reported slow client performance using hts-http routed across a public network. Performance testing of simple create/drop function with simulated high network latency shows a 3x performance difference between the hs2 and hs2-http protocols. 

      Simulated latency:

      sudo tc qdisc add dev lo root handle 1: prio priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

      sudo tc qdisc add dev lo parent 1:2 handle 20: netem delay 1000ms

      sudo tc filter add dev lo parent 1:0 protocol ip u32 match ip dport 28000 0xffff flowid 1:2

      sudo tc filter add dev lo parent 1:0 protocol ip u32 match ip dport 21050 0xffff flowid 1:2

      See attached flamegraphs.

      Attachments

        1. createdrop.sql
          0.1 kB
          Kurt Deschler
        2. hs2.svg
          1.24 MB
          Kurt Deschler
        3. http.svg
          1.96 MB
          Kurt Deschler

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kdeschle Kurt Deschler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: