Design a Cloud Storage Gateway
Design a storage gateway appliance that presents a local file-system or block-device interface to on-premises applications while transparently tiering data to cloud object storage. Hot files are served from a local SSD cache with LRU eviction; cold files are fetched on-demand from the cloud. Support bandwidth throttling, encryption at rest and in transit, multi-site access with conflict resolution, and snapshot-based backups to cloud archives.
Suggested time: 45 minutes
Loading the workspace...
About this problem
A cloud storage gateway bridges on-premises applications and cloud object storage. Applications see a familiar file-system interface (NFS, SMB, or iSCSI), but behind the scenes the gateway tiers data between a local SSD cache and remote cloud buckets. The key insight: most enterprise data follows an 80/20 access pattern where roughly 20% of files account for 80% of reads. By caching that hot 20% locally, you deliver local-disk latency for the vast majority of operations while storing the full dataset in cheap, durable cloud storage.
What your design needs to cover
Local file-system interface
Transparent data tiering
LRU cache with on-demand fetch
Write-back and write-through modes
Encryption at rest and in transit
Bandwidth throttling
Key challenges the editorial covers
Learn from other designs
Related problems
Design a High-Performance Computing Cluster (advanced)
Design a Multi-Cloud API Gateway (advanced)
Design a Disaster Recovery System (advanced)
Design a Container Orchestration System (advanced)
Design a Domain Name System (advanced)
Design a Serverless Architecture Framework (advanced)