Triplebyte Interview Question

Extend an existing database/cache solution to support additional requirements.