Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to ensure FIFO order on Cloud Tasks?

I'm using Cloud Tasks to enqueue some jobs, but I'd like to guarantee that the first job comes in, is the first that is executed. Is there this option on Cloud Tasks or I will have to migrate to another service?

Thanks

1 1 988
1 REPLY 1

Hi @jonatashermannq,

Welcome to Google Cloud Community!

Unfortunately, Cloud Tasks does not currently offer a native guarantee for FIFO ordering of tasks. While tasks are generally processed in the order they are enqueued, there are scenarios where they may not be executed exactly in that order. This can happen due to factors like load balancing, retries, and concurrent executions.