Book Image

Optimizing Databricks Workloads

By : Anirudh Kala, Anshul Bhatnagar, Sarthak Sarbahi
Book Image

Optimizing Databricks Workloads

By: Anirudh Kala, Anshul Bhatnagar, Sarthak Sarbahi

Overview of this book

Databricks is an industry-leading, cloud-based platform for data analytics, data science, and data engineering supporting thousands of organizations across the world in their data journey. It is a fast, easy, and collaborative Apache Spark-based big data analytics platform for data science and data engineering in the cloud. In Optimizing Databricks Workloads, you will get started with a brief introduction to Azure Databricks and quickly begin to understand the important optimization techniques. The book covers how to select the optimal Spark cluster configuration for running big data processing and workloads in Databricks, some very useful optimization techniques for Spark DataFrames, best practices for optimizing Delta Lake, and techniques to optimize Spark jobs through Spark core. It contains an opportunity to learn about some of the real-world scenarios where optimizing workloads in Databricks has helped organizations increase performance and save costs across various domains. By the end of this book, you will be prepared with the necessary toolkit to speed up your Spark jobs and process your data more efficiently.
Table of Contents (13 chapters)
1
Section 1: Introduction to Azure Databricks
5
Section 2: Optimization Techniques
10
Section 3: Real-World Scenarios

Learning about MLflow

MLflow is an open source project from Databricks that helps to manage ML life cycles. Databricks provides a completely managed and hosted version of MLflow. The features of MLflow include the following:

  • Tracking: Data scientists train several models at a time, and it can be hard to track them all. MLflow makes it easy to track the trained models using different algorithms, by providing a logging mechanism. We can even compare different results and parameters.
  • Artifacts: The models can be packaged in reusable forms and shared with other data scientists and ML engineers.
  • Registering: MLflow allows us to register different ML models and even different versions of these models. This makes it easy to manage an ML model's entire life cycle and allows for transitioning.
  • Deployment: The models registered using MLflow can be hosted as REpresentational State Transfer (REST) endpoints. This allows for easy model querying and deployment.

MLflow...