You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Google Cloud Pub/Sub supports two primary delivery mechanisms for messages: pull and push subscriptions. Choosing the right delivery mode is a critical architectural decision that affects latency, scalability, cost, and operational complexity. This lesson covers both modes in depth, comparing their characteristics and providing guidance on when to use each.
With a pull subscription, the subscriber actively requests messages from Pub/Sub. The subscriber calls the pull API (or uses streaming pull) and Pub/Sub returns available messages. The subscriber processes each message and sends an acknowledgement.
Pull or StreamingPull to request messagesAcknowledge request for each successfully processed messageSubscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.