Which storage type will most likely cause the highest latency for read operations in a high-traffic web application?
Think about network delays and how storage location affects speed.
Network-attached storage over a slow network adds significant latency due to network delays, making it slower than local or in-memory storage.
You are designing a system expected to handle millions of user-generated images. Which storage solution best supports easy horizontal scaling?
Consider how storage can grow with demand without downtime.
Distributed object storage systems are designed to scale horizontally by adding more nodes, making them ideal for large, growing datasets like images.
In a distributed storage system, choosing strong consistency over eventual consistency will most likely:
Think about the CAP theorem and what happens during network failures.
Strong consistency requires all nodes to agree on data before confirming writes, which can reduce availability if some nodes are unreachable during network partitions.
A system generates 500 MB of log data per hour. You want to store logs for 90 days with a replication factor of 3. How much total storage capacity is needed?
Calculate total data generated, then multiply by replication factor.
500 MB/hour * 24 hours/day * 90 days = 1,080,000 MB ≈ 1.08 TB. Multiply by replication factor 3 = 3.24 TB.
You must design a storage system that supports both fast transactional queries and large-scale analytical queries. Which architecture best fits this requirement?
Consider workload types and how storage optimizes for each.
Separating OLTP and OLAP systems allows each to be optimized for its workload: OLTP for fast transactions, OLAP for complex analytics, with data replicated between them.