Google Cloud Pub/Sub is Google's managed enterprise-grade messaging service. Cloud Pub/Sub allows users to create asynchronous one-way messaging channels on top of Google's infrastructure. Like many products in the GCP catalog, Cloud Pub/Sub is a Google internal service made publicly available. Internally, many critical Google services depend on Cloud Pub/Sub to send over half a billion messages per second at a throughput of over 1 TB per second. As part of the GCP catalog, Cloud Pub/Sub is a fantastic general messaging platform, with a wide array of real-world applications.
In previous chapters, we leveraged Cloud Pub/Sub in application architectures by integrating it with Cloud Functions, App Engine, and Cloud Storage. With built-in support across many Google Cloud products and services, Cloud Pub/Sub often serves as a primary means of integrating...