<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Spark Executor - Parallelism Question in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/spark-executor-parallelism-question/m-p/113010#M3148</link>
    <description>&lt;P&gt;I was reading the book Spark: The Definitive Guide, I came across below statement in Chapter 2 on partitions.&lt;/P&gt;&lt;P&gt;"If you have many partitions but only one executor, Spark will still have a parallelism of only one because there is only one computation resource."&lt;/P&gt;&lt;P&gt;I am little puzzled, is the above statement makes assumption that executor is having only one core ?&lt;/P&gt;</description>
    <pubDate>Wed, 19 Mar 2025 06:06:54 GMT</pubDate>
    <dc:creator>SANJAYKJ</dc:creator>
    <dc:date>2025-03-19T06:06:54Z</dc:date>
    <item>
      <title>Spark Executor - Parallelism Question</title>
      <link>https://community.databricks.com/t5/administration-architecture/spark-executor-parallelism-question/m-p/113010#M3148</link>
      <description>&lt;P&gt;I was reading the book Spark: The Definitive Guide, I came across below statement in Chapter 2 on partitions.&lt;/P&gt;&lt;P&gt;"If you have many partitions but only one executor, Spark will still have a parallelism of only one because there is only one computation resource."&lt;/P&gt;&lt;P&gt;I am little puzzled, is the above statement makes assumption that executor is having only one core ?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 06:06:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/spark-executor-parallelism-question/m-p/113010#M3148</guid>
      <dc:creator>SANJAYKJ</dc:creator>
      <dc:date>2025-03-19T06:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Spark Executor - Parallelism Question</title>
      <link>https://community.databricks.com/t5/administration-architecture/spark-executor-parallelism-question/m-p/113027#M3149</link>
      <description>&lt;P class=""&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/118918"&gt;@SANJAYKJ&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;It is correct in the sense that a &lt;STRONG&gt;single executor is a limiting factor&lt;/STRONG&gt;&lt;/SPAN&gt;, but the actual parallelism within that executor depends on &lt;SPAN class=""&gt;the number of cores assigned to it&lt;/SPAN&gt;. If you want to leverage multiple partitions effectively, you either need &lt;SPAN class=""&gt;more executors&lt;/SPAN&gt; or &lt;SPAN class=""&gt;executors with more cores&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;If the single executor has &lt;SPAN class=""&gt;multiple cores&lt;/SPAN&gt;, then it &lt;SPAN class=""&gt;can process multiple partitions at the same time&lt;/SPAN&gt;, up to the number of available cores.&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Isi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 09:21:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/spark-executor-parallelism-question/m-p/113027#M3149</guid>
      <dc:creator>Isi</dc:creator>
      <dc:date>2025-03-19T09:21:09Z</dc:date>
    </item>
  </channel>
</rss>

