Posted By : Murugan Andezuthu Dharmaratnam
Posted On : 22 January 2015
Keywords : Azure Queue Storage, Queue Stroage, Microsoft Azure Queue Storage, Microsoft Azure, Azure

Azure Queue Stroage

What Is Queue Storage

Queue storage in azure is a service for storing large numbers of messages that can be accessed from anywhere in the world through authenticated calls. It can be either using HTTP or HTTPS.A single queue message can be up to 64 KB size, and a queue can contain millions of messages, up to the total capacity limit of a storage account.

Various uses of Queue Storage are:

1. To process asynchronously , creating a backlog of work.

2. From web role to worker role in azure, we can easily passing messages.

Azure Queues are queues located in the Microsoft cloud which you can use for exchanging messages between components either in the cloud or on premise.

Creation Of Queue

A message is typically represents a task created by someone called "producer" that has to be processed by someone else called "consumer". Each message has a small body and some attributes, which you can use for configuring your service. As azure ensures that a message is invisible to other listeners, you could imagine many producers and many consumers as well as one-to-one scenarios. The main architectural benefit is loose coupling ,more about advantages and scenarios later in this article.

This is a code for creating a queue.Using a Storage ConnectionString we can retrive storage account from connection string.

Then next we can add messages to the created queue.The following code will demonstrate it.

Delete A Queue

We can delete a queue using the following code:

Murugan Andezuthu Dharmaratnam

Murugan is a technology leader with 14 years of hands-on experience in full life cycle systems design, development, implementation, and management. In addition to systems design and development, his core competencies include cloud design and architecture, interactive web applications and websites development, mobile computing, and Healthcare Information Technology. His experience is very diverse with a broad range of technologies within multiple industry settings including private, public, and non-profit. Coupled with his technology expertise, Murugan is a well-organized, result-oriented, and a highly analytical leader with proven track record in developing and implementing very complex systems.