Microsoft Azure Data FundamentalsDescribe how to work with non-relational data on AzureMedium
A web application generates a high volume of small, transient messages that need to be processed asynchronously by a backend service. The messages must be durable and guaranteed to be delivered at least once, even if the backend service is temporarily unavailable. Which Azure non-relational data service is most suitable for this messaging scenario?
- AAzure Blob Storage
- BAzure Queue Storage
- CAzure Data Lake Storage Gen2
- DAzure Table Storage
Show answer & explanationAnswer & explanation
Correct answer: B. Azure Queue Storage
Azure Queue Storage is designed for storing large numbers of messages that can be accessed from anywhere in the world. It provides durability and 'at-least-once' delivery guarantees, making it ideal for decoupled application components and asynchronous message processing.
Why the other options are wrong
- A. Blob Storage is for unstructured binary data, not for message queuing.
- C. Data Lake Storage Gen2 is for big data analytics, not for transient, asynchronous messages.
- D. Table Storage is a key-value store, not designed for message queues with 'at-least-once' delivery semantics.
Azure Queue Storage
A service for storing large numbers of messages that can be retrieved by an application. It enables asynchronous communication between decoupled application components.
- Messages can be up to 64 KB in size.
- Provides 'at-least-once' delivery guarantee.
- Offers high scalability and durability for message queues.
Memory trick: Queues line up messages for reliable delivery.