Pub-sub architectural pattern