Key Performance Metrics
Azure Storage provides low-latency, high-throughput data access across multiple services. The following table summarizes the typical performance characteristics for each storage type.
| Service | Typical Latency (ms) | Throughput (MiB/s) | Concurrency (max IOPS) |
|---|---|---|---|
| Blob (Hot) | 2–5 | ≈ 2,000 (single blob) | ≈ 20,000 |
| Blob (Cool) | 5–10 | ≈ 1,500 | ≈ 15,000 |
| File (Standard) | 3–7 | ≈ 1,800 | ≈ 10,000 |
| Queue | 1–3 | ≈ 500 | ≈ 5,000 |
| Table | 1–4 | ≈ 2,000 | ≈ 25,000 |
Latency vs. Payload Size
Performance Tuning Tips
- Use
TransferOptionswithMaximumConcurrencyto parallelize large uploads. - Prefer
PageBlobfor random I/O workloads;BlockBlobexcels at sequential writes. - Enable
Premium SSDfor latency‑critical workloads. - Leverage
Azure CDNin front of Blob storage for global low‑latency reads. - Batch small writes with
AppendBlobto reduce request overhead.
Sample Code – Measuring Write Latency
using Azure.Storage.Blobs;
using System.Diagnostics;
var client = new BlobServiceClient(connectionString);
var container = client.GetBlobContainerClient("test");
await container.CreateIfNotExistsAsync();
var blob = container.GetBlobClient("sample.bin");
var data = new byte[10 * 1024 * 1024]; //10 MiB
var sw = Stopwatch.StartNew();
await blob.UploadAsync(new BinaryData(data));
sw.Stop();
Console.WriteLine($"Upload latency: {sw.ElapsedMilliseconds} ms");