Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-3519

Reuse script engine to improve lineage query performance

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0, 2.0.0
    • Fix Version/s: 2.1.0
    • Component/s: atlas-core

      Description

      when query lineage info for hive, the throughput reachs only 3 query per second.

      we use jstack and jfr+flame graph tools and found that the  GremlinGroovyScriptEngine object loading class  logic takes much of the time. so we make the GremlinGroovyScriptEngine a global singleton object, which would be shared accross all query threads. finally the query performance improved much and got 200 qps.

        Attachments

        1. ATLAS-3519.patch
          3 kB
          Madhan Neethiraj

          Activity

            People

            • Assignee:
              leslizhang zhangxiong
              Reporter:
              leslizhang zhangxiong
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1.5h
                1.5h