Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce IO Load When Starting a Workflow #2075

Merged
merged 1 commit into from Nov 19, 2020

Conversation

lkiesow
Copy link
Member

@lkiesow lkiesow commented Nov 16, 2020

Workflow properties are persisted in the asset manager when a new
workflow is started. This requires that a snapshot of the event is
already present in the asset manager. Since this is not true for
unscheduled events, a snapshot is created on-the-fly.

Unfortunately, this can delay ingests if the storage system is under
high load and can even cause ingests to fail completely.

This patch modifies the behavior by creating a snapshot of an empty
media package instead. This significantly reduces the stress put onto
storage systems.

Your pull request should…

@lkiesow lkiesow added ELAN Pull requests originating from ELAN e.V. performance labels Nov 16, 2020
@gregorydlogan
Copy link
Member

@lkiesow checkstyle failure, extra import.

Workflow properties are persisted in the asset manager when a new
workflow is started. This requires that a snapshot of the event is
already present in the asset manager. Since this is not true for
unscheduled events, a snapshot is created on-the-fly.

Unfortunately, this can delay ingests if the storage system is under
high load and can even cause ingests to fail completely.

This patch modifies the behavior by creating a snapshot of an empty
media package instead. This significantly reduces the stress put onto
storage systems.
@lkiesow
Copy link
Member Author

lkiesow commented Nov 19, 2020

Fixed

@gregorydlogan gregorydlogan merged commit 7d2bd0c into opencast:r/8.x Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ELAN Pull requests originating from ELAN e.V. performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants