Cloud Tasks
Distributed task queues
Build more responsive applications
Asynchronous execution is a well-established way to reduce request latency and make your application more responsive. Cloud Tasks allows you to organize and control those requests with features like scheduling, deduplication, configurable retry policies, and version redirection.
Decouple and scale microservices
Cloud Tasks helps you better structure and scale your application: Implementing task handlers in dedicated services allows microservices to scale independently.
Manage resource consumption
Cloud Tasks helps you better control and smooth the load on your services by rate limiting your queues. It helps you easily manage the execution, dispatch, and delivery of your distributed tasks.
Handle releases and incidents gracefully
Cloud Tasks allows you to preserve your requests in flight. Pausing, retrying, or redirecting to a new version can give you room to handle a bug or stage a deployment without dropping requests.
Features
Scalable and fully managed
Build on the same fully managed service that powers our biggest customers.
HTTP targets
Add tasks targeting any HTTP service running on Compute Engine, Google Kubernetes Engine, Cloud Run, Cloud Functions or on-premises systems in a secure fashion using industry standard OAuth/OIDC authentication.
Rate and retry controls
Control the execution by setting the rate at which tasks are dispatched, the maximum number of attempts, and the minimum amount of time to wait between attempts.
Task deduplication
Tasks added multiple times will only be dispatched once.
Dashboard and command line interfaces
Manage, monitor, and inspect your queues and tasks from the Cloud Console interface of the gcloud command line.
Future scheduling
Control the time at which a task is run.
Guaranteed delivery
Cloud Tasks guarantees at-least-once delivery and most tasks are delivered exactly once.
Popular languages
Use client libraries in Java, Python, Node.js, PHP, and Go. Or enqueue tasks using the REST API from any language and anywhere.
"Cloud Tasks allow us to focus on the core requirements of the application we’re developing, instead of other utility requirements. We’ve been using Cloud Tasks extensively: From handling high volumes of notifications between applications which reside on different platforms, to data ingestion/migration tasks and the delegation, trigger, or control of workloads. After using Cloud Tasks, our development velocity has been given a significant boost and overall architecture simplified."
Jonathan Liversidge, IT Director, A1 Comms
Technical resources
Pricing
OPERATIONS PER MONTH | PRICE/MILLION |
---|---|
First 1 Million | Free |
Up to 5 Billion | $0.40 |
Start building on Google Cloud with $300 in free credits and 20+ always free products.
Asynchronous task execution.