Large File Technology Improvements

From Dryad wiki
Jump to: navigation, search
Status: This page documents proposed improvements for transfer of large files.

The way we handle large uploads is somewhat clumsy.

We can accept deposits up to 1.5GB, but larger files must be transferred through an external system. We need to increase the transfer capabilities in the native Dryad system.


See Also

Goal

Ensure that implementation and use of file transfer in the process of Dryad data submission is in keeping of Dryad’s overall mission and objectives. Specifically, ensure that using it incurs minimal difficulty to users, that its running costs do not exceed the revenue expected from large file surcharges, and that its implementation does not divert efforts disproportionate to the share of users in need of it.

Requirements

Absolute requirements:

  1. Compatibility with users’ operating systems and browsers.The technology is compatible with multiple operating systems and browsers that cover at least 95% of Dryad’s users.
    1. At present, this means recent versions of Chrome (36%), Firefox (32%), Safari (17%), and IE (12%) (user share in parentheses).
    2. At present, this precludes Java Plugin-based technologies running within the browser.
  2. Integrates with users’ web browsers.The technology is integrated with the user's web browser so that at least installation of any necessary client software or browser plugin is triggered from within the browser. If a technology requires client software installation on a user’s machine, the installation must not require admin privileges.
  3. Seamless and user-friendly 3rd party authentication.If a technology requires authenticating a user to a 3rd party, obtaining the 3rd party account as well as authenticating to it must be straightforward. Specifically, it must meet the following requirements:
    1. Ability to complete as part of the "data upload session" started by the user (i.e., no delay of hours or more waiting for approval etc.).
    2. Account creation must not require retyping of information that the user has already provided to Dryad.
  4. Reliability of file transfer and robustness to variations in network availability and bandwidth.This includes the following.
    1. A file must not indicate that transfer is complete unless the transfer actually has completed and the integrity of the file has been verified.
    2. Users must be able to restart a failed transfer without starting over at the beginning.
  5. Minimum large size support.The transfer mechanism must support files up to at least 20 GB.
  6. No 3rd party costs or charges.The technology must not incur an additional charge or cost to the user beyond the large file surcharge that Dryad levies already.

Preferences: (these are in addition to required)

  1. The technology is seamlessly integrated with the user's web browser.
    1. Selection of file, file transfer, and status monitoring all take place from within the browser.
    2. No client software installation aside from browser plugins is necessary.
  2. Seamless and user-friendly 3rd party authentication.
    1. If and once Dryad supports federated ID and auth, the 3rd party technology requiring ID and auth should support that mechanism as well, allowing the user to use the same federated ID at both places.
    2. 3rd party account creation should be programmable.
  3. Reliability of file transfer and robustness to variations in network availability and bandwidth.
    1. Ideally, resumption of a failed transfer from the point of failure is transparent to the user, for example by a server pulling the file from the client endpoint.
  4. Directories w/ multiple files can be transferred.
  5. The transfer mechanism can support files beyond 100 GB.
  6. Information about file or package properties (in particular size) are obtainable by Dryad prior to transfer of the file. This would be used to present certain information to the user (such as projected large file surcharge, suitability for transfer technology, expected transfer time etc).

Candidate Technologies

iPlant

Discussion notes:

Globus

  • GlobusOnline
  • Notes from Lee Taylor's IDCC presentation and Open Repositories 2013 presentation:
    • Exeter leveraged globus to provide large file transfer for DSpace
    • CILogon helped them get around the issues with separate DSpace & globus login processes
    • Richard Jones helped them rework SWORD so it separated DSpace ingest from the file transfer process
    • Users must "create a new globus endpoint" -- essentially this means installing a globus client and telling dspace where to find it.
    • Really big files (multi-Terabyte) may take a week to transfer
    • It takes several seconds for dspace to connect with globus
    • Exeter will add the Globus support into Dspace 4.0.

Aspera

We received a demo of Aspera in the spring of 2016.

Pros:

  • It's fast and robust
  • Resumable uploads
  • Has a nice administrative dashboard
  • We can control the total bandwidth used by Apera, as well as the bandwidth allowed for each client
  • Supports uploads directly into Amazon S3

Cons:

  • It requires users to install a plugin. (There is supposed to be an HTTP fallback, but the plugin is much better.)
  • It is relatively expensive (their prices are confidential; see (private) pricing sheet)

Resources:

HTML5 resumable upload for DSpace as implemented by DataShare

Other technologies that merit research