Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Data Engineering with Scala and Spark

You're reading from  Data Engineering with Scala and Spark

Product type Book
Published in Jan 2024
Publisher Packt
ISBN-13 9781804612583
Pages 300 pages
Edition 1st Edition
Languages
Authors (3):
Eric Tome Eric Tome
Profile icon Eric Tome
Rupam Bhattacharjee Rupam Bhattacharjee
Profile icon Rupam Bhattacharjee
David Radford David Radford
Profile icon David Radford
View More author details

Table of Contents (21) Chapters

Preface 1. Part 1 – Introduction to Data Engineering, Scala, and an Environment Setup
2. Chapter 1: Scala Essentials for Data Engineers 3. Chapter 2: Environment Setup 4. Part 2 – Data Ingestion, Transformation, Cleansing, and Profiling Using Scala and Spark
5. Chapter 3: An Introduction to Apache Spark and Its APIs – DataFrame, Dataset, and Spark SQL 6. Chapter 4: Working with Databases 7. Chapter 5: Object Stores and Data Lakes 8. Chapter 6: Understanding Data Transformation 9. Chapter 7: Data Profiling and Data Quality 10. Part 3 – Software Engineering Best Practices for Data Engineering in Scala
11. Chapter 8: Test-Driven Development, Code Health, and Maintainability 12. Chapter 9: CI/CD with GitHub 13. Part 4 – Productionalizing Data Engineering Pipelines – Orchestration and Tuning
14. Chapter 10: Data Pipeline Orchestration 15. Chapter 11: Performance Tuning 16. Part 5 – End-to-End Data Pipelines
17. Chapter 12: Building Batch Pipelines Using Spark and Scala 18. Chapter 13: Building Streaming Pipelines Using Spark and Scala 19. Index 20. Other Books You May Enjoy

Leveraging the Spark UI for performance tuning

The Spark UI is not a passive monitoring tool; it is a powerful instrument for driving performance improvements across your Spark applications. Let’s look at how to effectively leverage the UI for performance tuning.

Identifying performance bottlenecks

When embarking on performance tuning, the Jobs and Stages tabs serve as your initial checkpoints. Begin by scrutinizing the Jobs tab to identify jobs with prolonged runtimes or unusually high shuffle data sizes. These are indicative of potential performance bottlenecks that warrant deeper investigation.

Navigate to the Stages tab to further dissect the problematic stages. Pay close attention to tasks with extended runtimes or excessive data shuffling. Such insights will guide your efforts to optimize critical stages and alleviate performance constraints.

Optimizing data shuffling

Data shuffling is a resource-intensive operation that can significantly impact performance...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}