zhangxiong created ATLAS-3519: --------------------------------- Summary: pool performance in hive lineage query Key: ATLAS-3519 URL: https://issues.apache.org/jira/browse/ATLAS-3519 Project: Atlas Issue Type: Improvement Components: atlas-core Affects Versions: 2.0.0, 1.1.0 Reporter: zhangxiong
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. -- This message was sent by Atlassian Jira (v8.3.4#803005)