Pregunta de entrevista de VerifyMy

How would you make this solution asynchronous and scalable?