Microsoft Azure Storage and Database Part 28 – Azure Queue Storage – Overview
Hope you all are doing good !!! 🙂 .
In our previous article we have discussed on the Differences between Azure Blob Storage and Azure File Storage. Today in this article we will start with a new Azure storage service, that is Azure Queue Storage Service.
Tool Installation Articles :
- Configure Azure Command Line Interface ( Azure CLI) On Windows
- Configure PowerShell For Microsoft Azure Az Module On Windows
Previous Azure Series :
- Learn Basics Of Azure Networking In 60 Hours
- Learn Basic Of Azure Active Directory And Azure Identity And Access Management
- Azure DevOps – Learn at one place
If you have missed our previous articles on Azure Storage and Database Series, please check it in following links.
Azure Queue Storage
Azure Queue Storage service is another sub-service of Azure Storage service. Azure Queue Storage provides cloud messaging between application components. For example, say we want our customers to be able to upload pictures, and we want to create thumbnails for each picture customer uploaded. It has following properties.
- This storage storing large numbers of messages.
- Queue Storage delivers asynchronous messaging between application components.
- Queue Storage supports managing asynchronous tasks and building process work flows.
- The messages can be access using HTTP or HTTPS.
- One single Queue message size can be up to 64 KB.
- Azure Queue Storage may contain messages, up to the total capacity limit of a storage account.
- Azure Queue Storage does not have support for FIFO (First In First Out)
Components Of Queue Storage
The Azure Queue storage service contains the following components
- URL format – Queues are addressable using the following URL format–
The following URL addresses a queue in the diagram –
- Storage account – All access to Azure Storage is done through a storage account. For information about storage account see Part 2 – Azure Storage Account.
- Queue – A queue contains a set of messages. The queue name must be all lowercase. A queue name must start with a letter or number, and can only contain letters, numbers, and the dash (-) character.
- Message – A message, in any format, of up to 64 KB. Before version 2017-07-29, the maximum time-to-live allowed is seven days. For version 2017-07-29 or later, the maximum time-to-live can be any positive number, or -1 indicating that the message doesn’t expire. If this parameter is omitted, the default time-to-live is seven days.
Benefits Of Azure Queues Storage
- Decoupling the components is supported for message queue services
- It can be runs in an asynchronous environment where messages can be sent among the different components of an application.
- It provides an efficient solution for managing workflows and tasks.
Best Place To Use Queue Storage
- When our application store over 80 gigabytes of messages in a queue.
- When our application wants to track progress for processing a message in the queue.
- When the worker processing a message crashes.
Price Table For Azure Queue Storage
We can customize pricing options by selecting different region as per our requirement.
It is recommended by Microsoft to use General Purpose v1, as it enables access to Block Blobs, Page Blobs, Files, Queues and Tables—offering our lowest transaction prices but with higher storage prices. General Purpose v1 accounts do not provide access to Cool and Archive storage.
|Storage in GB/Month||₹3.2421 per GB||₹4.3228 per GB||₹5.4034 per GB|
Operations and data transfer
|Queue Class 1* operations (in 10,000)||₹0.0260||₹0.0260||₹0.0260|
|Queue Class 2** operations (in 10,000)||₹0.0260||₹0.0260||₹0.0260|
|Geo-replication data transfer (per GB)||N/A||Free||Free|
But if required, we can use General Purpose v2, and it provides access to the latest Azure storage features, including Cool and Archive storage, with pricing optimized for the lowest GB storage prices. These accounts provide access to Block Blobs, Page Blobs, Files and Queues.
|₹3.2421 per GB||₹4.0526 per GB||₹4.3228 per GB||₹5.4034 per GB||N/A per GB||N/A per GB|
Operations and data transfer
|Queue Class 1* operations (in 10,000)||₹0.2882||₹0.2882||₹0.5764||₹0.5764||N/A||N/A|
|Queue Class 2** operations (in 10,000)||₹0.2882||₹0.2882||₹0.2882||₹0.2882||₹0.2882||₹0.2882|
|Geo-replication data transfer (per GB)||N/A||N/A||₹6.4841||₹6.4841||₹6.4841||₹6.4841|
In our next article we will discuss more on this Azure Queue Storage service with practical example.
With the above information, I am concluding this article. I hope this is informative to you. Please let me know if I missed anything important or if my understanding is not up to the mark. Keep reading, share your thoughts, experiences. Feel free to contact us to discuss more.
If you have any suggestion / feedback / doubt, you are most welcome. Stay tuned on Knowledge-Junction, will come up with more such articles.
Thanks for reading 🙂 .