You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Haiyang Sun (Jira)" <ji...@apache.org> on 2021/06/09 14:31:00 UTC

[jira] [Created] (SPARK-35701) Contention on SQLConf.sqlConfEntries and SQLConf.staticConfKeys

Haiyang Sun created SPARK-35701:
-----------------------------------

             Summary: Contention on SQLConf.sqlConfEntries and SQLConf.staticConfKeys
                 Key: SPARK-35701
                 URL: https://issues.apache.org/jira/browse/SPARK-35701
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.1.2
            Reporter: Haiyang Sun


The global locks used to protect {{SQLConf.sqlConfEntries}} map and the {{SQLConf.staticConfKeys}} set can cause significant contention on the SQLConf instance in a concurrent setting. 

Using copy-on-write versions should reduce the contention given that modifications to the configs are relatively rare.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org