Tag
caching
Coding
GPU Credits: Out-of-Order Grants and Expiring Credits
Replay timestamped credit events with an expiry-ordered heap, then cache balances across a bounded time horizon. Includes tested Java and Python solutions.
System Design
Design a Real-Time Restaurant Analytics Dashboard
How to serve fresh orders, revenue, and top-dish metrics at 100K order events per second without scanning raw orders.