Design an in-memory database with TTL and backups | Coinbase