Microsoft Azure Data FundamentalsDescribe how to work with non-relational data on AzureEasy
A developer is building a new application that processes a large volume of small, independent messages. Each message needs to be processed asynchronously and reliably, even if the processing service is temporarily unavailable. The messages should be automatically removed after a configurable time period if not processed. Which Azure non-relational data service is best suited for this scenario?
- AAzure Queue Storage
- BAzure Blob Storage
- CAzure Table Storage
- DAzure Cosmos DB
Show answer & explanationAnswer & explanation
Correct answer: A. Azure Queue Storage
Azure Queue Storage is specifically designed for storing large numbers of messages that can be processed asynchronously. It provides reliable messaging and allows for messages to be removed after a configurable time, fitting the requirements for independent, asynchronous processing.
Why the other options are wrong
- B. Azure Blob Storage is for storing unstructured data objects like files, not for message queuing.
- C. Azure Table Storage is a NoSQL key-value store, suitable for structured non-relational data, not message queuing.
- D. Azure Cosmos DB is a globally distributed, multi-model database service, overkill and not primarily designed for simple message queuing.
Azure Queue Storage
A service for storing large numbers of messages. It enables asynchronous processing of messages and provides a durable, reliable messaging solution.
- Stores messages for asynchronous processing
- Messages are typically small (up to 64KB)
- Offers reliability and durability for messages
Memory trick: Queues are for quick, quiet, and reliable message delivery.