Design a simple key-value API: clients set and get string values by key, with optional TTL per key. The system should persist data across restarts, support concurrent clients, and provide strong consistency per key within a single datacenter.
DrawCode Practice Problem
Design a Key-Value Store
Interactive Visualizer Workspace
Explore step-by-step interactive animations, memory state tracking, and live multi-language execution in DrawCode.
Launch Interactive Visualizer