Periodic scripts that hit external servers can cause a "thundering herd" problem, whereby many systems' periodic scripts run at the same time, and overload the server. To prevent this, such scripts should sleep for a random amount of time before hitting the external server. After r316432, there is a common anticongestion function to handle this. For an example of how to use it, see https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181374&action=diff
Good idea
Maintainer feedback?
still +
svn-diff in bug # 218447.
A commit references this bug: Author: dbaio Date: Sat Aug 11 14:24:50 UTC 2018 New revision: 476919 URL: https://svnweb.freebsd.org/changeset/ports/476919 Log: sysutils/duply: Update to 2.1 - Enable random by default in periodic script and anticongestion function [1] Periodic scripts that hit external servers can cause a "thundering herd" problem, whereby many systems' periodic scripts run at the same time, and overload the server. To prevent this, such scripts should sleep for a random amount of time before hitting the external server. Changes: http://duply.net/wiki/index.php/Duply-Changelog PR: 218443 [1] PR: 230308 Submitted by: Nathan <ndowens@yahoo.com> Reported by: asomers [1] Approved by: michael@ranner.eu (maintainer) Changes: head/sysutils/duply/Makefile head/sysutils/duply/distinfo head/sysutils/duply/files/periodic_duply.in