Domanda di colloquio di Revolut

Given a basic cache implementation how would you handle concurrency ?