EXL Service Interview Question

How would I design pub sub system?