Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GAE Task Queue - Is there a way to delay a task from executing for X seconds

  • Is there a way to guarantee a task to be performed in X minutes (or after X min) ? (rate would mean the intervals between tasks but what about the first task, would the first task starts after the 'rate' time?)
like image 313
bach Avatar asked Apr 02 '10 10:04

bach


People also ask

Is task queue asynchronous?

Task queues let applications perform work, called tasks, asynchronously outside of a user request. If an app needs to execute work in the background, it adds tasks to task queues. The tasks are executed later, by worker services. The Task Queue service is designed for asynchronous work.

How do cloud tasks work?

Cloud Tasks lets you separate out pieces of work that can be performed independently, outside of your main application flow, and send them off to be processed, asynchronously, using handlers that you create. These independent pieces of work are called tasks.

Which one of the following configuration files describes the configuration for the task queues?

yaml configuration file is used to create and configure almost all of the task queues (push or pull) your app uses.

What is cloud task in GCP?

Cloud Tasks is a fully managed service that allows you to manage the execution, dispatch, and delivery of a large number of distributed tasks. Using Cloud Tasks, you can perform work asynchronously outside of a user or service-to-service request.


1 Answers

If you mean 'at least X minutes from now', yes - use the task queue API.

like image 104
Nick Johnson Avatar answered Oct 26 '22 00:10

Nick Johnson