<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Varuni N R on Medium]]></title>
        <description><![CDATA[Stories by Varuni N R on Medium]]></description>
        <link>https://medium.com/@PassionateDataEngineer?source=rss-c51327a731ae------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*PAUo8-tavpOkHgCMi6M3UA.jpeg</url>
            <title>Stories by Varuni N R on Medium</title>
            <link>https://medium.com/@PassionateDataEngineer?source=rss-c51327a731ae------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 23:44:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@PassionateDataEngineer/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Unveiling the powerhouse features of Apache Spark]]></title>
            <link>https://medium.com/@PassionateDataEngineer/unveiling-the-powerhouse-features-of-apache-spark-626eaa07f23e?source=rss-c51327a731ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/626eaa07f23e</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[fault-tolerance]]></category>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[apache-spark]]></category>
            <dc:creator><![CDATA[Varuni N R]]></dc:creator>
            <pubDate>Sun, 14 Jan 2024 10:17:52 GMT</pubDate>
            <atom:updated>2024-01-24T05:58:50.477Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L-o7NWHt8R41FGAczAwBig.png" /></figure><p>Are you that person who wants to build a career in Data engineering? Then you must be also one who has heard a lot of people talk about Apache Spark !! But do you know why is Spark so much in talks ? Lets unveil the brilliant features of Apache Spark and why it is loved by many.</p><p>So lets know what is Apache Spark. I’m going to keep it simple, as per the documentation</p><blockquote>Apache Spark™ is a multi-language engine for executing data engineering, data science, and machine learning on single-node machines or clusters.</blockquote><p>So unlike Hadoop which supports Java primarily, Apache Spark supports the following programming languages Java, Python, Scala and R. It can run on clusters or also on single-node machines. Apache Spark has various modules like Spark SQL for structured data processing, MLlib which has Machine Learning library which makes practical machine learning scalable and easy, GraphX which is Apache Spark’s API for graphs and graph-parallel computation and finally Spark Streaming to deal with real-time streaming data as well as batch workloads.</p><p>Now lets learn about the powerhouse features of Apache Spark and what makes it unique.</p><blockquote><strong>Faster processing</strong></blockquote><p>As we all know, Hadoop deals with data in Disk. It <strong>reads and writes</strong> data to and from the disk which makes it slow. When it comes to Apache Spark, it uses in-memory execution. It has an advanced DAG execution engine which supports acyclic data flow and in-memory execution.</p><p>It also makes use of existing distributed File Systems like HDFS, AWS S3 storage , Big data databases like Cassandra for processing larger data sets.</p><blockquote><strong>Fault Tolerant</strong></blockquote><p>Fault tolerance in a system is the system’s ability to function properly despite the failure of its own components. Apache Spark provides various configuration settings and also contains certain built in features to achieve Fault tolerance.</p><p>We can achieve fault tolerance through DAG which recomputes efficiently only for the nodes which are failed by tracing back the Lineage Graph. We also have options like <strong>Checkpointing, Persistent Storage, Dynamic Resource Allocation </strong>for achieving Fault tolerance.</p><blockquote><strong>Parallel execution</strong></blockquote><p>Apache Spark is by default Dynamic in Nature. It provides high-level operators which makes easy for developing parallel applications.</p><blockquote><strong>Reusability</strong></blockquote><p>Spark code can be reused for batch-processing, join stream against historical data.</p><blockquote><strong>Lazy Evaluation</strong></blockquote><p>Apache Spark has two types of operations <strong>Transformations and Actions </strong>which is required to perform data manipulations in larger data sets. <strong><em>filter()</em></strong> is one of the transformation and <strong><em>collect()</em></strong> is one of the action operation in Apache Spark. However, when we call <strong><em>filter() </em></strong>on the data, its not executed immediately. But it will get executed only after calling an action like <strong><em>collect(). </em></strong>This is know as Lazy evaluation in Apache Spark.</p><p>Advantages of this feature is mainly effective use of resources, provides optimization by reducing the number of queries, reduces time and space complexity, saves computation as only necessary values get computed.</p><blockquote><strong>File Format Support</strong></blockquote><p>It supports multiple file format like csv, avro, json, parquet. It can be integrated with Hadoop File System HDFS as well.</p><blockquote><strong>Open Source Software</strong></blockquote><p>Apache Spark is an open source software, hence no hassle of licensing fee. Cost involved is only for the hardware for carrying out the data processing operation.</p><h3>Conclusions</h3><p>Undoubtedly, Apache Spark has powerhouse features to perform data ingestion and building an efficient ETL data pipeline. It can be clubbed with other services like AWS Glue, EMR for deployment.</p><p>But it is also necessary to make use of the features of the framework. Making better use of these features which makes data processing faster. ETL pipeline would be optimized at its best and makes resources are not wasted and used efficiently.</p><p>If you like this article do share it with people who are Apache Spark enthusiasts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=626eaa07f23e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>