Claudio Jeker <[email protected]> wrote:

> I do not use the sleep RANDOM thing because I prefer to have rpki-client
> run always at the same interval (1h) and I just selected a random minute
> in the hour.

While I understand what RANDOM is trying to do, I am not a fan.  I've
thought often of an improvement, where the minute marker in a crontab
file could be a letter 'R', which indicates the specific random value
for this cron start.  That value would be selected at cron start, and
remain constant for the runtime of cron.

That provides the load-sharing benefits against the services.  But it
does not jitter all over the place, and also avoids this locking issue.

Reply via email to