The Trade Desk interview question

How to design a publisher, subscriber system.