Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
343 views
in Technique[技术] by (71.8m points)

scala - High Concurrency Clusters in Databricks

This from Databricks docs:

High Concurrency clusters

A High Concurrency cluster is a managed cloud resource. The key benefits of High Concurrency clusters are that they provide Apache Spark-native fine-grained sharing for maximum resource utilization and minimum query latencies.

High Concurrency clusters work only for SQL, Python, and R. The performance and security of High Concurrency clusters is provided by running user code in separate processes, which is not possible in Scala.

  • Why is this not possible for Scala? Prime aspect of this question.

  • Apache Spark-native fine-grained sharing for maximum resource utilization and minimum query latencies. I have a good idea how Spark works, but may be a clarification here in case there is some extra consideration.

  • As an aside then, are most then all running their own standard clusters per person or using HAC's using SQL etc. I think HAC's would be the way to go - in general.

question from:https://stackoverflow.com/questions/65869399/high-concurrency-clusters-in-databricks

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

High Concurrency clusters are intended for use by multiple users, sharing the cluster resources, and isolating every notebook, etc. For all mentioned languages, separate processes are created and they execute the code that is limited to API exposed by Spark to that language. But Scala code will be executed inside the Spark JVM (per machine) that is shared between all users, so you can get access to everything that is inside JVM.

Typically, when using High Concurrency clusters, the Table ACLs are also enabled (only for SQL or SQL+Python), so you can control who can access which data, enforce row/column level access control, etc.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...