Project

General

Profile

Idea #11167

Updated by Tom Morris about 7 years ago

Currently, if If keep-web isn't is not configured, Workbench will fallback to arv-get and Rails streaming to serve files.    However, this is a very bad fallback: 

 # It fails silently if calling arv-get doesn't work 
 # It ties up a workbench worker for the duration of the download 
 # It doesn't report content-length, so user agents are unable to render a progress bar or determine if the entire file was transferred. 
 # It sometimes silently drops out in the middle of downloads  
 # It sometimes consumes huge amount of RAM, crashing the workbench server. 
 # It can't handle [some?] range requests 

 Instead we should: 
 - Workbench should refuse start if keep-web is not configured 
 - Documentation should of inflicting this on users, it might be updated better to emphasize the user to a page saying that keep-web is mandatory, Workbench config for keep-web, and the new Workbench startup failure mode 
 - Remove the arv-get fallback code and adjust any related tests 

 sysadmin needs to install keep-web.

Back