Implement an in-memory DB with TTL backup/restore | Anthropic Coding Question