Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Azure Development Cookbook Second Edition

You're reading from   Microsoft Azure Development Cookbook Second Edition Over 70 advanced recipes for developing scalable services with the Microsoft Azure platform

Arrow left icon
Product type Paperback
Published in Sep 2014
Publisher
ISBN-13 9781782170327
Length 422 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Toc

Table of Contents (10) Chapters Close

Preface 1. Developing Cloud Services for Microsoft Azure FREE CHAPTER 2. Deploying Quickly with Azure Websites 3. Getting Storage with Blobs in Azure 4. Going Relational with the Azure SQL Database 5. Going NoSQL with Azure Tables 6. Messaging and Queues with the Storage and Service Bus 7. Managing Azure Resources with the Azure Management Libraries 8. Going In-memory with Azure Cache Index

Managing Azure Storage queues


The Azure Storage Service partitions data to provide scalability and has a lower scalability target for data in a single partition than for a storage account. The queue service stores each queue in its own partition. At the time of writing, the scalability target for a single queue is 2,000 messages per second, while the scalability target for an entire storage account is up to 20,000 messages per second. Consequently, scalability may be improved by using multiple queues.

In the Azure Storage library, the CloudQueue class provides both synchronous and asynchronous methods to manage queues and the messages in them. These include methods to create, delete, and clear queues. Although queues may have metadata associated with them, only the queue name is needed to create a queue. The queue name may comprise only lowercase letters, numbers, and the dash character.

In this recipe, we'll learn how to manage queues.

Getting ready

This recipe assumes the following code is...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime