Pregunta de entrevista de Revolut

Given a basic cache implementation how would you handle concurrency ?