EXL Service interview question

How would I design pub sub system?