You design an application that writes millions of small sensor readings (each ~100 bytes) to Azure Blob Storage. The data is appended to files every minute and after 7 days it is archived for compliance. You need to minimize write costs and storage costs. Which blob type and tier strategy should you use?
Trap 1: Block blobs with Hot tier and a lifecycle rule to move to Cool…
Block blobs require creating new blocks for each append, which is inefficient for frequent small appends; Cool after 7 days is not the cheapest long-term option.
Trap 2: Page blobs with Premium tier.
Page blobs are for VHDs and random read/write patterns, not append; Premium tier is expensive and not needed for this scenario.
Trap 3: Append blobs with Cool tier and no lifecycle rule.
Cool tier has lower storage but higher write costs; without lifecycle, data remains in Cool tier, which is more expensive than Archive for long-term retention.
- A
Block blobs with Hot tier and a lifecycle rule to move to Cool after 7 days.
Why it fails: Block blobs require creating new blocks for each append, which is inefficient for frequent small appends; Cool after 7 days is not the cheapest long-term option.
- B
Append blobs with Hot tier and a lifecycle rule to move to Archive after 7 days.
Append blobs are optimised for append-only writes, minimising per-write overhead for millions of small readings, while Hot tier keeps ingestion cheap and a lifecycle rule transitions data to Archive after 7 days, cutting long-term storage costs.
- C
Page blobs with Premium tier.
Why it fails: Page blobs are for VHDs and random read/write patterns, not append; Premium tier is expensive and not needed for this scenario.
- D
Append blobs with Cool tier and no lifecycle rule.
Why it fails: Cool tier has lower storage but higher write costs; without lifecycle, data remains in Cool tier, which is more expensive than Archive for long-term retention.