vine: make throttling worker transfer a tunable parameter · Issue #4101 · cooperative-computing-lab/cctools · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In @vine_current_transfers.c:set_throttle (link), we check whether the number of consecutive failures exceeds a threshold or if total failures outweigh successes. If either condition is met, we assume the worker is misbehaving and remove it.
However, with file pruning enabled, workers transferring files may receive excessively frequent pruning requests, leading to a lot of transfer failures returning back to the manager, but these are as expected.
Therefore, I propose making the throttling behavior a tunable parameter, as it might be unnecessary in this scenario.
The text was updated successfully, but these errors were encountered:
Would it make sense to instead ignore transfer failures if they correspond to pruned files? If the correct behavior depends on finely tuning a parameter then we need to reconsider the approach.
Got it! In general we shouldn't add a parameter to make something work. The general rule is to add a parameter for something that works acceptably well to make it work really well once we know something about the workflow. We do not want to add a parameter that would lead us to ignore a problem.
In
@vine_current_transfers.c:set_throttle
(link), we check whether the number of consecutive failures exceeds a threshold or if total failures outweigh successes. If either condition is met, we assume the worker is misbehaving and remove it.However, with file pruning enabled, workers transferring files may receive excessively frequent pruning requests, leading to a lot of transfer failures returning back to the manager, but these are as expected.
Therefore, I propose making the throttling behavior a tunable parameter, as it might be unnecessary in this scenario.
The text was updated successfully, but these errors were encountered: