<?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 Hello, I would like to know more about recipe parallelism and whether there are any recommended best practices around this. For example if I have one input with many recipes that branch from this same input. Will all recipes execute at the same time? in Alteryx Designer Cloud Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Cloud-Discussions/Hello-I-would-like-to-know-more-about-recipe-parallelism-and/m-p/1128366#M241</link>
    <description>&lt;P&gt;Is it better for the recipes to be placed one after another instead?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Aug 2021 10:37:36 GMT</pubDate>
    <dc:creator>andrewcoe</dc:creator>
    <dc:date>2021-08-25T10:37:36Z</dc:date>
    <item>
      <title>Hello, I would like to know more about recipe parallelism and whether there are any recommended best practices around this. For example if I have one input with many recipes that branch from this same input. Will all recipes execute at the same time?</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Cloud-Discussions/Hello-I-would-like-to-know-more-about-recipe-parallelism-and/m-p/1128366#M241</link>
      <description>&lt;P&gt;Is it better for the recipes to be placed one after another instead?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 10:37:36 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Cloud-Discussions/Hello-I-would-like-to-know-more-about-recipe-parallelism-and/m-p/1128366#M241</guid>
      <dc:creator>andrewcoe</dc:creator>
      <dc:date>2021-08-25T10:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hello, I would like to know more about recipe parallelism and whether there are any recommended best practices around this. For example if I have one input with many recipes that branch from this same input. Will all recipes execute at the same time?</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Cloud-Discussions/Hello-I-would-like-to-know-more-about-recipe-parallelism-and/m-p/1128367#M242</link>
      <description>&lt;P&gt;Hi @Andrew Coe?&amp;nbsp;. That's an interesting question!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding whether recipes would be parallel or placed one after the other - the answer lies with what you're trying to achieve.&lt;/P&gt;&lt;P&gt;If each recipe is creating a different report - then, by all means, they should be separated from one another. Meaning - Parallel, all directly driven from the input file.&lt;/P&gt;&lt;P&gt;If they rely on one another, they should be placed one after the other.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, when recipes are parallel to each other - they won't necessarily execute simultaneously. This depends on your environment's configuration; more often than not, they will execute one after the other - for stability purposes and giving each recipe the resources it needs. But it will still be better practice if they're disconnected in logic from one another.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To speak in broader terms - let's look at this flow:If we run outputs [Branch 2.2]+[Branch 1]+[Branch 3], the recipe called "recipe" will be run 3 times, once for each output object that's been run. This is because Trifacta makes sure that you're working with the most up-to-date data and recipes each time you're running a job. Most of the time, it's redundant work; i.e., you'd only want this to be run once and let the continuity of the flow use its output as static reference.&lt;/P&gt;&lt;P&gt;To achieve this, we can do what is called a "data check-point". Meaning - write the recipe's logic into a file\table, and let that be a new input from which all other recipes continue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That way, the recipe will only be run once instead of 3 times.&lt;/P&gt;&lt;P&gt;So while there's the overhead of actually writing the results of "recipe" to a destination - it's usually the lesser evil than running it multiple times.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope that makes sense; please feel free to ask any further questions.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 13:53:02 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Cloud-Discussions/Hello-I-would-like-to-know-more-about-recipe-parallelism-and/m-p/1128367#M242</guid>
      <dc:creator>AMiller_Tri</dc:creator>
      <dc:date>2021-08-26T13:53:02Z</dc:date>
    </item>
  </channel>
</rss>

