Best Practices for Setting wait time backoff_factor: How Do You Optimize It?

9 Replies, 943 Views

Hey everyone,

So, I’ve been tinkering with the wait time backoff_factor in my retry logic, and I’m kinda stuck on how to optimize it. Like, what’s the sweet spot? Too low, and you’re hammering the server; too high, and you’re just waiting forever.

I’ve seen some folks use a wait time backoff_factor of 0.5, but others swear by 1.5 or even 2.0. What’s your take?

Also, does anyone factor in the server’s response time or just go with a flat rate? I’m curious if there’s a smarter way to adjust the wait time backoff_factor dynamically.

Kinda new to this, so any tips or war stories would be awesome. Thx in advance!

Cheers,
Alex

Messages In This Thread
Best Practices for Setting wait time backoff_factor: How Do You Optimize It? - by - 16-04-2024, 11:56 PM



Users browsing this thread: 1 Guest(s)