mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 08:27:14 +02:00
Update publish queue with practical retry params
The unlimited exponential backoff makes cascading failure a serious problem, when encountering burst DNS load. Originally, it was exponential backoff, with min 1 sec max 1 hour. This changes it to be linearly scaling from 30 seconds to 10 minutes. Min 30 seconds is used to avoid over-retrying due to lock contention. Max 10 minutes allows for more retries within our 1 hour SLA. Finally, we're switching to linear scaling to increase the number of 'quick' retries for low backoff time, before ultimately settling on the upper bound of 10 minutes (if a task ever gets to that point, it's probably misconfigured.) ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=186041553
This commit is contained in:
parent
1013e047b4
commit
a365b82d42
1 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,12 @@
|
|||
<name>dns-publish</name>
|
||||
<rate>100/s</rate>
|
||||
<bucket-size>100</bucket-size>
|
||||
<!-- 30 sec backoff increasing linearly up to 10 minutes. -->
|
||||
<retry-parameters>
|
||||
<min-backoff-seconds>30</min-backoff-seconds>
|
||||
<max-backoff-seconds>600</max-backoff-seconds>
|
||||
<max-doublings>0</max-doublings>
|
||||
</retry-parameters>
|
||||
</queue>
|
||||
|
||||
<queue>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue