<?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: What is the difference between SQS in S3 and AutoLoader in databricks? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/what-is-the-difference-between-sqs-in-s3-and-autoloader-in/m-p/56323#M30521</link>
    <description>&lt;P&gt;input source is S3 bucket's object that created by AWS DMS. and I will use SQS&amp;nbsp;to use it as a file arrival notification in a streaming pipeline. In Delta Live Tables, the production pipeline is constantly running and I want it to stop when a file arrives.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jan 2024 00:58:48 GMT</pubDate>
    <dc:creator>rt-slowth</dc:creator>
    <dc:date>2024-01-03T00:58:48Z</dc:date>
    <item>
      <title>What is the difference between SQS in S3 and AutoLoader in databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/what-is-the-difference-between-sqs-in-s3-and-autoloader-in/m-p/55767#M30429</link>
      <description>&lt;P&gt;I'm curious about the difference between using S3's SQS to set the queue url in spark's readStream option and AutoLoader reading from Cloudfiles.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I would also like some advice on which one is better to use in which situation.&lt;BR /&gt;(from a cost and performance perspective)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm planning to create data in real-time using complex operations such as JOIN on the data imported from real-time ingestion.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 02:40:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-is-the-difference-between-sqs-in-s3-and-autoloader-in/m-p/55767#M30429</guid>
      <dc:creator>rt-slowth</dc:creator>
      <dc:date>2023-12-27T02:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between SQS in S3 and AutoLoader in databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/what-is-the-difference-between-sqs-in-s3-and-autoloader-in/m-p/55784#M30435</link>
      <description>&lt;P&gt;Hello Folk,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cloud files options provide you a flexibility to read the data from input source and process the files accordingly. In databricks you get a two options batch and streaming.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you are using streaming using Autoloader it automatically detects the new files has been arrived in the source and it process automatically.&lt;/P&gt;&lt;P&gt;Please share your use case, whether your input source is AWS S3 bucket and what is the use of SQS ?&lt;/P&gt;&lt;P&gt;In my past experience my use case was to ingest the data from ADLS Gen 2 and to Bronze, Silver &amp;amp; Gold Layers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 11:45:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-is-the-difference-between-sqs-in-s3-and-autoloader-in/m-p/55784#M30435</guid>
      <dc:creator>BR_DatabricksAI</dc:creator>
      <dc:date>2023-12-27T11:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between SQS in S3 and AutoLoader in databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/what-is-the-difference-between-sqs-in-s3-and-autoloader-in/m-p/55792#M30436</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Using Spark readStream with SQS will be very similar to using CloudFiles with FileNotification mode (which also uses SQS on the backend).&lt;/P&gt;&lt;P&gt;CloudFiles comes with some additional options compared to native Spark readStream:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/en/ingestion/auto-loader/options.html#common-auto-loader-options" target="_new"&gt;Common Auto Loader Options&lt;/A&gt;&lt;/P&gt;&lt;P&gt;One benefit is that you can set a backfill interval that will regularly search for files that could potentially be skipped during the entire loading process (this is because Cloud providers do not guarantee 100% of files arriving in storage to be registered in the queue). If you are using your mechanism to send info to the queue, you might not need it, but please be aware that if you need 100% data quality.&lt;/P&gt;&lt;P&gt;There is often information that AutoLoader is like Spark readStream on steroids, where they improved the performance of the API to retrieve files from cloud storage. I think you would need to test it by setting up both AutoLoader with FileNotification and Spark streaming with SQS and try to check if you see the difference in performance. If AutoLoader runs faster, that means the job will finish quicker, and you can shut down the cluster faster.&lt;/P&gt;&lt;P&gt;If you plan to run this 24/7, then there might be no difference in cost.&lt;/P&gt;&lt;P&gt;From the perspective of complex operations, it has nothing to do with the loading technique, as both will result in a streaming dataframe, and your transformation should be executed in the same way.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Dec 2023 12:56:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-is-the-difference-between-sqs-in-s3-and-autoloader-in/m-p/55792#M30436</guid>
      <dc:creator>Wojciech_BUK</dc:creator>
      <dc:date>2023-12-27T12:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between SQS in S3 and AutoLoader in databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/what-is-the-difference-between-sqs-in-s3-and-autoloader-in/m-p/56323#M30521</link>
      <description>&lt;P&gt;input source is S3 bucket's object that created by AWS DMS. and I will use SQS&amp;nbsp;to use it as a file arrival notification in a streaming pipeline. In Delta Live Tables, the production pipeline is constantly running and I want it to stop when a file arrives.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 00:58:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-is-the-difference-between-sqs-in-s3-and-autoloader-in/m-p/56323#M30521</guid>
      <dc:creator>rt-slowth</dc:creator>
      <dc:date>2024-01-03T00:58:48Z</dc:date>
    </item>
  </channel>
</rss>

