Chapter 14. Messaging with Pub/Sub and IoT Core
As distributed systems continue to grow in popularity, so does the need for reliable and scalable communication channels between services. For decades, enterprise systems have addressed these needs with various forms of asynchronous messaging middleware. These message-based solutions have proven invaluable in a wide array of use cases, including orchestration, event-driven architectures, and data processing pipelines. In order to facilitate reliable and scalable message-based communications, Google Cloud Platform provides Cloud Pub/Sub—a fully managed, durable global messaging middleware with the capacity to handle over 100 million messages per second.
One exciting application of messaging middleware is in the heavily event-oriented realm of Internet of Things (IoT), where large numbers of resource-constrained devices must communicate over less than ideal network conditions, and often produce staggering amounts of data. Building on Cloud Pub...