How Does Apache Spark Works