Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Apache Spark: Tips, Tricks, & Techniques
Rating: 4.0 out of 5(1 rating)
28 students

Apache Spark: Tips, Tricks, & Techniques

Discover proven techniques to create testable, immutable, and easily parallelizable Spark jobs
Last updated 4/2021
English
English [Auto],

What you'll learn

  • Compose Spark jobs from actions and transformations
  • Create highly concurrent Spark programs by leveraging immutability
  • Ways to avoid the most expensive operation in the Spark API—Shuffle
  • How to save data for further processing by picking the proper data format saved by Spark
  • Parallelize keyed data; learn of how to use Spark's Key/Value API
  • Re-design your jobs to use reduceByKey instead of groupBy
  • Create robust processing pipelines by testing Apache Spark jobs
  • Solve repeated problems by leveraging the GraphX API

Course content

7 sections • 36 lectures • 2h 26m total length
  • The Course Overview2:18

    This video provides an overview of the entire course.

  • Using Spark Transformations to Defer Computations to a Later Time4:32

    In this video, we will use Spark transformations to defer computations to a later time.

       •  Understand spark DAG creation

       •  Execute DAG by issuing action

       •  Defer decision about starting job until the last possible moment

  • Avoiding Transformations3:52

    In this video, we will learn how to avoid transformations.

       •  Understand groupBy API

       •  Use cache() function

       •  Avoid skewed partitions

  • Using reduce and reduceByKey to Calculate Results5:06

    In this video, we will using reduce and reduceByKey to calculate results.

       •  Understand reduce behavior

       •  Use reduce() function

       •  Use reduceByKey() function

  • Performing Actions That Trigger Computations5:17

    In this video, we will understand what an action can be in Spark.

       •  Get a walkthrough of all the actions

       •  Perform tests

  • Reusing the Same RDD for Different Actions3:41

    In this video, we reuse the same RDD for different actions.

       •  Minimize execution time by reuse of RDD

       •  Introduce caching

       •  Perform tests

Requirements

  • Knolodge of Apache Spark is benifited.

Description

Apache Spark has been around for quite some time, but do you really know how to get the most out of Spark? This course aims at giving you new possibilities; you will explore many aspects of Spark, some you may have never heard of and some you never knew existed.

In this course you'll learn to implement some practical and proven techniques to improve particular aspects of programming and administration in Apache Spark. You will explore 7 sections that will address different aspects of Spark via 5 specific techniques with clear instructions on how to carry out different Apache Spark tasks with hands-on experience. The techniques are demonstrated using practical examples and best practices.

By the end of this course, you will have learned some exciting tips, best practices, and techniques with Apache Spark. You will be able to perform tasks and get the best data out of your databases much faster and with ease.

About the Author

Tomasz Lelek is a Software Engineer, programming mostly in Java and Scala. He is a fan of microservice architectures and functional programming. He dedicates considerable time and effort to getting better every day. He is passionate about nearly everything associated with software development, and believes that we should always try to consider different solutions and approaches before solving a problem. Recently he was a speaker at conferences in Poland -, Confitura and JDD (Java Developers Day), and also at Krakow Scala User Group. He has also conducted a live coding session at Geecon Conference.

He is a co-founder initlearn an e-learning platform that was built with the Java language.

Who this course is for:

  • This course is for Apache Spark developers who want to learn some useful, interesting ways to further improve their Apache Spark skills for processing and analyzing a large amount of data in a much faster, unique, and easy way.