Rate Limiter for Expensive API with User-Configurable Monthly Quota

Asked at Salesforce · System Design for ML · Difficulty: Medium · Last asked Jan 30, 2026

Tech-screen system-design round in the Salesforce MTS/SMTS loop. The product has one expensive API; each customer can set their own monthly call limit via dashboard. Design the rate-limiting layer that enforces those quotas, accepts updates to them, and explains overage behaviour.

Loading the problem…