ahmetb / cloud-run-faq

Unofficial FAQ and everything you've been wondering about Google Cloud Run.
https://cloud.run
Creative Commons Attribution 4.0 International
2.32k stars 124 forks source link

run-to-completion services #124

Closed dkavraal closed 3 years ago

dkavraal commented 3 years ago

Isn’t it possible to connect pub/sub (concurrency:1, max inst:1) <-> cloud run and push one message and have it work once only? Just an idea.

ahmetb commented 3 years ago

PubSub isn't a only-once delivery service. It supports retries and a task may run more than once if not completed successfully. We'll update when we have a better way.