Language choice
One of the first choices the developers have to make is to decide the language API they are going to write their applications in. In Chapter 1, Introduction to Apache Spark, we gave an overview of all the languages supported by Spark. The choice of language depends on the use case and the dynamics of the team. If you are part of a data science team and comfortable in writing your machine-learning applications in Python or R, then you might consider Python/R for writing your Spark applications. If you write your code using the structured APIs (DataFrame and Dataset), it is not going to impact performance as at the end the Spark code boils down to RDD code, which doesn't require a Python or R interpreter. One of the recommendations ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access