Pregunta de entrevista de EXL Service

How would I design pub sub system?