Storage Structure and Primary Cost for a Write-Heavy Time-Series Ingest Service

Company: Apple

Difficulty: medium

Problem Statement

Question 1

A write-heavy time-series ingestion service performs 500K inserts/sec with occasional range reads by timestamp. Which storage structure and which primary cost should you expect?