Comments (3)
We talked about adding jitter to the backoff, which I think is a great idea.
As I understand this specific proposal,
on the first backoff, we'd delay a random interval from 0 .. 3 secs,
on the second backoff, a random delay from 0..7 secs,
on the third backoff, a random delay from 0..15 secs,
etc, up to a max of 0..255 secs.
from parodus.
@schmidtw this talks about the max seed but not about the min seed.
Is the min seed supposed to change to previous n every retry as the max seed increases.
For example if n varies from 2 to 8 i.e. 3s to 255s
Should the random time be [3, 255] all the time or should it be like [3, 7] [7, 15] [15, 31] [31, 63] [63, 255]
If [3, 255] is used then the subsequent retries does not guarantee increased sleep it may be 240s, 30s, 120s etc.
from parodus.
I think it is reasonable to leve the min time the same, so:
[3,7]
[3,15]
[3,31]
[3,63]
[3,255]
The large number of devices should be a Gaussian curve roughly centered in the middle of the range. Each time the range increases we push the middle of the curve out a bit, but don't force blackout windows. This should be a good pattern at scale.
from parodus.
Related Issues (20)
- On getaddrinfo error in redirected URL, re-attempt with default server URL HOT 3
- Backoff retry is not working HOT 1
- Rename command line options for MTLS cert and Key HOT 3
- Add hw-last-reboot-reason-detailed
- about the problem that nopoll_conn_wait_for_status_until_connection_ready not found in the open source nopoll. HOT 1
- Fix cmake error observed while upgrade to nanomsg 1.1.5
- Clear the config auth token when 403 is received and new token fetch fails HOT 1
- Retry Auth token fetch on every reconnect to server
- Report failure on non-200 response code from auth token server HOT 4
- Rename master branch to main
- Remove "master" from test variable contents
- Why WEBPA protocol is more efficient than TR-69 or SNMP? HOT 2
- parodus for openwrt system HOT 1
- parodus client setup for webpa server getting TLS negation error HOT 1
- Parodus Support of QOS
- Observed syntax error `*-*-beos*' while running make HOT 3
- Ensure Correct Xmidt Header Usage
- cjwt build failure is deprecated: Since OpenSSL 3.0
- OpenWrt package ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parodus.