Design a High-Throughput Distributed Cache

Asked at Salesforce · System Design for ML · Difficulty: Hard · Last asked Jan 9, 2026

Second system-design round in the Salesforce LMTS onsite — distinct from the service-design round earlier in the loop. Design an in-memory caching layer (Redis-class) that fronts a primary database, with explicit attention to eviction, consistency, hot keys, and sharding under high concurrent load.

Loading the problem…