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

Asset load boast using metadata files #67

Merged
merged 2 commits into from
Aug 21, 2023
Merged

Asset load boast using metadata files #67

merged 2 commits into from
Aug 21, 2023

Conversation

tobbee
Copy link
Contributor

@tobbee tobbee commented Aug 21, 2023

Loading old livesim content took over a minute because every segment is read and scanned at startup time.
The only metadata extracted is startTime, endTime and number of each segment.

This PR makes it possible to generate gzipped JSON files with such metadata for each representation, and read such
files on startup to improve startup speed. The time went from 90s to 4s in tests.

The writing is not on by default, and the directory where the the metadata is read can be configured.
By default, it is the same root as vodRoot, leading to that the metadata files are in the same directories as the MPDs.

A possible extension would be in place if BaseURL is supported in the assets.

Solves #66

@tobbee tobbee merged commit b2471db into main Aug 21, 2023
4 checks passed
@tobbee tobbee deleted the load-boost branch August 21, 2023 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant