How does that PySpark thing work? And why Arrow makes it faster?
- Speaker
- Ruben Berenguel
- Event
- Python June Meetup
- Date
- Type
- Talk
- Language
- English
- Length
- 45 minutes
About this talk
Back in ye olde days of Spark, using Python with Spark was an exercise in patience. Data was moving up and down from Python to Scala, being serialised constantly. Leveraging SparkSQL and avoiding UDFs made things better, as well as the constant improvement of the optimisers (Catalyst and Tungsten). But, with Spark 2.3 PySpark has speed up tremendously thanks to the (still experimental) addition of the Arrow serialisers. In this talk we will learn how PySpark has improved its performance in Apache Spark 2.3 by using Apache Arrow. To do this, we will travel through the internals of Spark to find how Python interacts with the Scala core, and some of the internals of Pandas to see how data moves from Python to Scala via Arrow.
Video
How does that PySpark thing work? And why Arrow makes it faster?