Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

Report file processing progress for manuscript #314

Closed
tamlyn opened this issue Jul 6, 2018 · 0 comments
Closed

Report file processing progress for manuscript #314

tamlyn opened this issue Jul 6, 2018 · 0 comments

Comments

@tamlyn
Copy link
Contributor

tamlyn commented Jul 6, 2018

User Story:

As a submitter I want to have feedback that my manuscript is being uploaded in order that I have confidence the application is functioning correctly..

Product requirements/Acceptance criteria:

Depends on #312 and #313

Functional:

  • Update science beam processing request to only include title, authors and abstract (which should hopefully speed it up a little). See API: specify fields to include sciencebeam-parser#51
  • Enhance the manuscript upload mutation with a heuristic to guess on processing progress and report this to the client.

A possible approach could be to process a few files of different file sizes and from different publishers and record how long they take (excluding upload time). Assuming there's a pattern, take the average time and report the progress on a timer to complete at that time. As that time approaches, asymptotically slow down the timer so it still progresses but never quite reaches 100%. When processing actually completes, send 100%.

Relevant links to design(s):

https://drive.google.com/open?id=1SkJQr3cA4C6HL8FQ5tQ2-9U967C0H1o0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants