<?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 Re: Is there a way to run notebooks concurrently in same session? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16551#M10727</link>
    <description>&lt;P&gt;You can use &lt;A href="https://docs.databricks.com/data-engineering/jobs/jobs.html" alt="https://docs.databricks.com/data-engineering/jobs/jobs.html" target="_blank"&gt;jobs workflow.&lt;/A&gt; It helps you to run the notebooks in parallel as well as sequential.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2022 08:22:00 GMT</pubDate>
    <dc:creator>Prabakar</dc:creator>
    <dc:date>2022-06-28T08:22:00Z</dc:date>
    <item>
      <title>Is there a way to run notebooks concurrently in same session?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16548#M10724</link>
      <description>&lt;P&gt;tried using-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;dbutils.notebook.run(notebook.path, notebook.timeout, notebook.parameters)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;but it takes 20 seconds to start new session. %run uses same session but cannot figure out how to use it to run notebooks concurrently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 13:29:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16548#M10724</guid>
      <dc:creator>darshan</dc:creator>
      <dc:date>2022-06-27T13:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run notebooks concurrently in same session?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16549#M10725</link>
      <description>&lt;P&gt;dbutils.notebook.run starts a new job, that's why it takes this time and test yo can start multiple concurrently using ThreadPool or other async libraries. Probably with the better server, it could be 10 seconds, not 20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%RUN executes other notebooks like it would be code of notebook which we run (like include in some languages).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you could plan a different architecture way (but it depends on the use case) as this way is instead for no-time critical projects (analytics). Stream and delta live tables should be used instead if it is a project when that 20s delay is too much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 14:10:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16549#M10725</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-06-27T14:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run notebooks concurrently in same session?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16550#M10726</link>
      <description>&lt;P&gt;Another approach is to use the &lt;A href="https://docs.databricks.com/dev-tools/api/latest/jobs.html?&amp;amp;_ga=2.245671812.1840935736.1656356344-1953298372.1649081029#operation/JobsCreate" alt="https://docs.databricks.com/dev-tools/api/latest/jobs.html?&amp;amp;_ga=2.245671812.1840935736.1656356344-1953298372.1649081029#operation/JobsCreate" target="_blank"&gt;Jobs API &lt;/A&gt;and leverage a notebook_task with an existing cluster (existing_cluster_id). &lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 19:47:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16550#M10726</guid>
      <dc:creator>craig_lukasik</dc:creator>
      <dc:date>2022-06-27T19:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run notebooks concurrently in same session?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16551#M10727</link>
      <description>&lt;P&gt;You can use &lt;A href="https://docs.databricks.com/data-engineering/jobs/jobs.html" alt="https://docs.databricks.com/data-engineering/jobs/jobs.html" target="_blank"&gt;jobs workflow.&lt;/A&gt; It helps you to run the notebooks in parallel as well as sequential.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 08:22:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16551#M10727</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2022-06-28T08:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run notebooks concurrently in same session?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16552#M10728</link>
      <description>&lt;P&gt;This is a great question. I’ve been struggling with opening multiple browser sessions to open more than one notebook at a time. &lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 17:53:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16552#M10728</guid>
      <dc:creator>bb_huey99</dc:creator>
      <dc:date>2022-06-28T17:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run notebooks concurrently in same session?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16553#M10729</link>
      <description>&lt;P&gt;dbutils.notebook.run will run multiple notebooks in the same session! &lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 18:33:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16553#M10729</guid>
      <dc:creator>sbo</dc:creator>
      <dc:date>2022-06-28T18:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run notebooks concurrently in same session?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16555#M10731</link>
      <description>&lt;P&gt;Hello, yes responses were helpful, so I tried workflow but stuck with sending data across notebooks using workflow. &lt;/P&gt;&lt;P&gt;Also, trying delta live tables. What I would like to know is is there threshold about how many records delta live tables can hold at a time?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 07:22:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16555#M10731</guid>
      <dc:creator>darshan</dc:creator>
      <dc:date>2022-06-29T07:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run notebooks concurrently in same session?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16556#M10732</link>
      <description>&lt;P&gt;But it creates new jobs which makes process slow by 20 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 07:23:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16556#M10732</guid>
      <dc:creator>darshan</dc:creator>
      <dc:date>2022-06-29T07:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run notebooks concurrently in same session?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16557#M10733</link>
      <description>&lt;P&gt;Is there a way to send data from one notebook to other using workflow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 07:24:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16557#M10733</guid>
      <dc:creator>darshan</dc:creator>
      <dc:date>2022-06-29T07:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run notebooks concurrently in same session?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16558#M10734</link>
      <description>&lt;P&gt;Hello, one thing I am not able to understand is, while developing low latency application where even 5 seconds cannot be tolerated, how to create jobs? Because each job takes 20 seconds to init. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 11:28:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16558#M10734</guid>
      <dc:creator>darshan</dc:creator>
      <dc:date>2022-06-29T11:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run notebooks concurrently in same session?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16559#M10735</link>
      <description>&lt;P&gt;You can use python concurrent run and execute the dbutils.notebooks.run​&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 22:20:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16559#M10735</guid>
      <dc:creator>zulazuardi</dc:creator>
      <dc:date>2022-06-29T22:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run notebooks concurrently in same session?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16560#M10736</link>
      <description>&lt;P&gt;There is a databricks sample notebook that shows how to use scala futures to run notebooks in parallel. We use this extensively, so I can promise it works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  Look for the section Run Notebooks Concurrently &lt;A href="https://docs.databricks.com/notebooks/notebook-workflows.html" alt="https://docs.databricks.com/notebooks/notebook-workflows.html" target="_blank"&gt;https://docs.databricks.com/notebooks/notebook-workflows.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 22:37:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16560#M10736</guid>
      <dc:creator>gfree76</dc:creator>
      <dc:date>2022-06-29T22:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run notebooks concurrently in same session?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16561#M10737</link>
      <description>&lt;P&gt;This does help, but can you help me understand why job run time takes more time than actual run time of notebook? And is there a way to reduce the time?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 07:01:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16561#M10737</guid>
      <dc:creator>darshan</dc:creator>
      <dc:date>2022-06-30T07:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run notebooks concurrently in same session?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16562#M10738</link>
      <description>&lt;P&gt;I’ve been struggling with opening multiple browser sessions to open more than one notebook at a time.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 13:49:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-run-notebooks-concurrently-in-same-session/m-p/16562#M10738</guid>
      <dc:creator>rudesingh56</dc:creator>
      <dc:date>2022-07-04T13:49:31Z</dc:date>
    </item>
  </channel>
</rss>

