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 ...

Get Microsoft Azure Development Cookbook Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.