Understanding Pub/Sub Architecture