What are the advantages of using Pub/Sub instead of directly triggering through HTTP (Google Cloud Scheduler)?

itsarnavb

Arnav Bansal

Posted on November 19, 2018

What are the advantages of using Pub/Sub instead of directly triggering through HTTP (Google Cloud Scheduler)?

My guess: security.

Cloud Scheduler doesn't seem to provide any way to verify the request source. If the endpoint is discovered, users could trigger the endpoint outside schedule.

Are there any other benefits of using pub/sub?

Google Cloud Scheduler: https://cloud.google.com/scheduler/

Google Cloud Pub/Sub: https://cloud.google.com/pubsub/

💖 💪 🙅 🚩
itsarnavb
Arnav Bansal

Posted on November 19, 2018

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related