Design pubsub system