I have two services on an App Engine project. Service A has a minimum 1 instance. Service B scales to 0. I would like when Service A receives a request, for Service B to receive a warm up request, or be initiated in some way. This is because users of the web application will primarily interact with Service A, and Service B just performs a couple heavy lifting tasks, which would be costly to have on all the time. However when the user is active, I would like to have Service B ready to go.
In other words, I need to Service B have an idle instance available only when Service A has been used recently. Is there a way to perform this?