2 ms·
Another way of spreading the load is to sleep(random(sensible_delay)) before executing a scheduled task.
by wruza 6y ago
Another way of spreading the load is to sleep(random(sensible_delay)) before executing a scheduled task.
- mark-r 6y agoWith random numbers there's still a non-zero chance of everything happening at the same time. Prime numbers make things more predictable and consistent.