Design Inline Deduplication for an All-Flash Block Array

Last updated: November 29, 2026

Quick Overview

Design always-on inline deduplication for a dual-controller all-flash block array that must sustain hundreds of thousands of IOPS at sub-millisecond latency, including the fingerprint index, what happens on a hit or miss, reference counting, and how deletion and garbage collection reclaim space.

Pure Storage
System Design
Software Engineer
Pure Storage
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design always-on inline deduplication for a dual-controller all-flash block array that must sustain hundreds of thousands of IOPS at sub-millisecond latency, including the fingerprint index, what happens on a hit or miss, reference counting, and how deletion and garbage collection reclaim space.

Always-on data reduction without a performance penalty is core to how FlashArray is sold, so senior data path candidates are expected to reason about fingerprint index memory budgets, hash choice and refcount consistency. The interviewer pushes on what lives in DRAM versus NVRAM versus flash and how the design survives a controller failover.

What the Interviewer Expects
  • Places dedup in the write path after NVRAM acknowledgement, off the latency critical path
  • Sizes the fingerprint index and explains why it cannot all live in DRAM
  • Chooses between a strong hash and a weak hash plus byte compare, with reasons
  • Handles reference counts or mark-and-sweep reclamation crash-consistently
  • Interacts correctly with compression, snapshots and garbage collection
  • Covers controller failover and index rebuild
Key Topics to Cover
Deduplication
Fingerprint indexing
Reference counting
Garbage collection
Write path latency
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How would you decide what fraction of the index to keep in memory?
  • How do you handle a dedup hit on a block that GC is relocating right now?
  • What happens to dedup when a customer enables encryption on the host?
  • How would you measure that dedup is not adding tail latency?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: detect duplicate data blocks across all volumes and snapshots and store them once; preserve exact read semantics. Non-functional: write acknowledgement under about 300 microseconds (once i...

High-Level Design

Write path: host write lands in NVRAM mirrored to both controllers and is acknowledged. A background pipeline then splits data into blocks (variable alignment helps for shifted data), computes a fast ...


Submit Your Answer
Markdown supported

Related Questions