<?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 Samiksha Agrawal on Medium]]></title>
        <description><![CDATA[Stories by Samiksha Agrawal on Medium]]></description>
        <link>https://medium.com/@agrawalsamiksha25?source=rss-f78a27d9d647------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8QQgiB9SJFqz7136xxTSHQ.jpeg</url>
            <title>Stories by Samiksha Agrawal on Medium</title>
            <link>https://medium.com/@agrawalsamiksha25?source=rss-f78a27d9d647------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 04:19:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@agrawalsamiksha25/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[ Introduction to Apache Spark: Fast and Efficient Big Data Processing]]></title>
            <link>https://medium.com/@agrawalsamiksha25/introduction-to-apache-spark-fast-and-efficient-big-data-processing-fc25a5745b4d?source=rss-f78a27d9d647------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc25a5745b4d</guid>
            <category><![CDATA[apache-spark]]></category>
            <category><![CDATA[big-data-processing]]></category>
            <dc:creator><![CDATA[Samiksha Agrawal]]></dc:creator>
            <pubDate>Sat, 03 May 2025 18:30:25 GMT</pubDate>
            <atom:updated>2025-05-03T19:23:25.046Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2dnKXZ6A4uD02K7H4awnjA.png" /></figure><p>In today’s data-driven world, traditional data processing tools like <strong>Hadoop</strong> and <strong>SQL</strong> often fail to handle massive datasets efficiently. This is because they rely on <strong>disk-based storage</strong>, which makes data processing <strong>slow</strong> and <strong>less responsive</strong>.</p><p>Take Hadoop, for instance. It’s powerful, but it processes data in <strong>batches</strong>, which adds latency and limits its use for real-time applications.</p><p>That’s where <strong>Apache Spark</strong> steps in as a game-changer. ⚡</p><h3>🔥 What is Apache Spark?</h3><p><strong>Apache Spark</strong> is an open-source distributed computing system that processes big data at lightning speed by using <strong>memory-based computing</strong> instead of constantly writing to disk.</p><p>These make Spark significantly faster and more efficient for many use cases — from real-time analytics to machine learning pipelines.</p><h3>🔁 RDD: The Core Building Block</h3><p>At the heart of Spark lies the <strong>RDD (Resilient Distributed Dataset)</strong>.</p><blockquote><em>💡 </em>An RDD is a fault-tolerant, distributed collection of elements that can be operated on in parallel.</blockquote><p>RDDs are the <strong>backbone of Apache Spark</strong>. They allow Spark to distribute data and tasks across a cluster of machines, ensuring both performance and reliability.</p><h3>🧩 Components of Apache Spark</h3><p>Spark’s modular architecture includes several high-level components:</p><ul><li><strong>Spark SQL</strong> — Enables querying structured data using SQL.</li><li><strong>Spark Streaming</strong> — Supports processing of live data streams (e.g., from Uber, Google Maps).</li><li><strong>MLlib</strong> — Machine learning library for scalable ML on big data.</li><li><strong>GraphX</strong> — API for graph processing and computations.</li></ul><p>This rich ecosystem makes Spark a one-stop solution for all kinds of big data workloads.</p><h3>🏗️ Architecture Overview</h3><p>A typical Spark application follows this architecture:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/1*TetTvnqmZ8y4QY5o64GBrg.png" /></figure><ul><li><strong>Spark Session</strong>: The entry point of a Spark application. It requests resources from the <strong>Cluster Manager</strong> (like YARN, Mesos, or Kubernetes).</li><li><strong>Driver Program</strong>: Orchestrates the execution, tracks tasks, and handles user commands.</li><li><strong>Executors</strong>: Distributed worker processes that execute tasks assigned by the driver.</li></ul><h3>🌟 Why Use Apache Spark?</h3><ul><li><strong>In-memory processing</strong> makes Spark <strong>up to 100x faster</strong> than Hadoop in some scenarios.</li><li><strong>Scalable</strong> to petabytes of data across thousands of nodes.</li><li><strong>Language support</strong> for Java, Scala, Python, and R.</li><li><strong>Versatile</strong> with built-in modules for SQL, streaming, ML, and graph processing.</li></ul><h3>✅ Final Thoughts</h3><p>Apache Spark isn’t just another tool — it’s a <strong>revolution</strong> in how we process and analyze data at scale. Its speed, scalability, and flexibility make it a must-learn technology for data engineers, scientists, and developers alike.</p><p>👉 In future posts, I’ll try to dive deeper into each Spark module and learn how to build real-world big data solutions.</p><p><strong>Stay tuned for more such insights on data technologies and scalable systems!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc25a5745b4d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>