This question evaluates a candidate's ability to design scalable, highly available key-value storage systems and to integrate real-time metrics reporting such as QPS, testing competencies in distributed systems architecture, data durability, consistency, and observability.
Design a key-value (KV) store that supports basic read/write operations and also exposes an API to report QPS (queries per second).
Put(key, value)
Get(key) -> value | not_found
GetQPS(windowSeconds) -> qps
Get
/ only successful requests.)
Get
/
Put
and for
GetQPS
.
Get/Put
performance.