Chapter 6: Implementing a Messaging and Scheduling System
The main idea behind microservices is to decouple the individual services and functions of an application by creating several micro applications that can be scaled more easily and are far more resilient. However, this entire arrangement breaks down completely if the microservices have no way of communicating with each other. Your microservices need to be able to communicate with each other and there are numerous ways this can be done. In this chapter, we'll explore these different ways and look at how Google Cloud services can be used to do this. We'll also cover services from other vendors and compare how they stack against each other.
In this chapter, we will cover the following topics:
- Understanding the requirements of a messaging system
- Introduction to asynchronous messaging
- Introduction to Publish/Subscribe (Pub/Sub)
- Introduction to Cloud Tasks
- Introduction to Cloud Scheduler