0

I'm building an image ETL service using GCS + eventarc + CloudRun. Right now, all the calls and retries are happening at the same time, so even with exponential backoff the errors just accumulate. (a lot of errors in +1 sec, +10 sec, +30 sec, etc.)

Is there a way to add jitter to the exponential backoff in eventarc (pub/sub)?

I've tried googling but I can only find code that adds jitter (random.rand()) on creating pub/sub, but not as a configuration of the pubsub, or retry strategy.

Shota Shimizu
  • 121
  • 2
  • 8

0 Answers0